Can someone tell me why this script stops
when i remove the drop down box from the script
then it runs great
????????????
<body bgcolor="#C0C0C0">
<form method="post" action="update.php">
<?
define("SQL_HOST", "intranet.hr.nl"); // Naam of IP van MySQL server
define("SQL_USER", "login"); // MySQL gebruikersnaam
define("SQL_PWD", "pass"); // MySQL password
define("SQL_DB", "itcoordinatoren"); // Naam van de database
$db = mysql_connect(SQL_HOST,SQL_USER,SQL_PWD) or die("Unable to connect to database");
mysql_select_db (SQL_DB,$db);
$result = mysql_query("SELECT divisie.divisie,
tblcoordinatoren.naam,
tblcoordinatoren.afdeling,
tblcoordinatoren.telefoon
FROM tblcoordinatoren
INNER JOIN divisie ON (tblcoordinatoren.divisieID = divisie.divisieID) Order by divisie");
while ($myrow = mysql_fetch_array($result))
{
?>
<table border="1" width="100%">
<tr>
<td width="25%" align="left"><input type="text" name="naam" VALUE="<?php echo $myrow["naam"]; ?>" size="25"></td>
<td width="25%" align="left"><input type="text" name="afdeling" VALUE="<?php echo $myrow["afdeling"]; ?>" size="25"></td>
<td width="25%" align="left"><input type="text" name="telefoon" VALUE="<?php echo $myrow["telefoon"]; ?>" size="25"></td>
<?
echo "<td width=\"25%\" align=\"left\"><select name=\"divisie\" size=\"1\">\n";
$sql = "SELECT * FROM divisie";
$result = mysql_query($sql,$db);
while ($rubriek = mysql_fetch_array($result))
{
$divisieid = $rubriek['divisieID'];
$divisienaam = $rubriek['divisie'];
echo "<option value=\"$divisieid\">$divisienaam</option>\n";
}
echo "</select>\n";
echo "</td>\n";
echo "</tr>\n";
};
echo "</table>";
echo "<input type=\"Submit\" name=\"submit\" value=\"Enter information\">";
echo "</form>";
?>