I'm trying to fetch some data from my mssql database, and display it in a select box. But it just doesn't work! anyone knows why? the query is correct though.. the code:
<form METHOD=POST ACTION="<?php print("$PHP_SELF"); ?>"><select NAME=messe[]" SIZE=3>
<?php $query = "SELECT stuff FROM messe where type = 1";
$result = mysql_query($querysteder);
while ($messe = mysql_fetch_array($result)) {
echo "<OPTION VALUE=\"$messe[0]\">$messe[1]\n";
}
echo "</SELECT></FORM><br>";
an empty selectbox appears....
obscurr