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
Line 174: Line 174:
  
  
</body>
 
</html>
 
 
 
 
 
 
 
 
 
<?php
 
$con = mysql_connect("localhost","root","root");
 
$db = mysql_select_db("Time_sheet",$con);
 
$get=mysql_query("SELECT Emp_id FROM Employee ORDER BY Emp_id ASC");
 
$option = '';
 
while($row = mysql_fetch_assoc($get))
 
{
 
  $option .= '<option value = "'.$row['Emp_id'].'">'.$row['Emp_id'].'</option>';
 
}
 
?>
 
<html>
 
<body>
 
<form>
 
<select>
 
<?php echo $option; ?>
 
</select>
 
</form>
 
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 01:40, 20 May 2018

HTML for Time Zone dropdown/select