Welcome to the RuneGlory Wiki, where we do our best to make your life easier!

You can use the search menu on the right side of the wiki (or at the bottom if you are on mobile) to search for the page you are looking for. The most popular pages can be found on the right side of the wiki aswell (or again at the bottom if you are on mobile).

Difference between revisions of "Dannyx Test"

From RuneGlory
Jump to: navigation, search
(Undo revision 8305 by Dannyx (talk))
Line 179: Line 179:
 
<p>Select your timezone to see which hour an event will appear</p>
 
<p>Select your timezone to see which hour an event will appear</p>
  
<form action="option.php" method="GET">
+
 
 
   <input list="time zones" name="time zone">
 
   <input list="time zones" name="time zone">
 
   <datalist id="time zones">
 
   <datalist id="time zones">
Line 195: Line 195:
 
</body>
 
</body>
 
</html>
 
</html>
 
 
    <?php
 
    if(isset($_GET['names']))
 
    {
 
        $name=$_GET['names'];
 
        $c=mysql_connect("localhost","root","");
 
        mysql_select_db("test");
 
        $ins=mysql_query("INSERT INTO `option`
 
                          (name)
 
                          VALUES ('$name')",$c) or die(mysql_error());
 
        if($ins)
 
        {
 
            echo "<br>".$name."inserted";
 
        }
 
 
    }
 
 
?>
 

Revision as of 02:19, 20 May 2018

HTML for Time Zone dropdown/select


Event Promotions

Select your timezone to see which hour an event will appear