But it wont work at my side.
This is my Code:
PHP Code:
<?
include ("config.php"); // connect to database
$result=mysql_query("SELECT mitarbeiter_betreuer FROM mitarbeiter");
$i = 0;
while ($row = mysql_fetch_array($result));
{
print('<option value='" . $row[$i] . "'>' . $row[$i] . '</option>');
$i++;
}
mysql_close();
?>
But i get an Parse error at the line:
PHP Code:
print('<option value='" . $row[$i] . "'>' . $row[$i] . '</option>');
any Idea ?