code:
1
2
3
4
5
6
7
8
9
10
11
12
| <?php
$connection_string=odbc_connect('movies','','');
$query="SELECT titel FROM film";
$queryexec=odbc_do($connection_string,$query);
echo "<select name=\"filmnr\">\n";
while ($rij = mysql_fetch_row($queryexec)) {
echo "<option>";
echo $rij["titel"];
echo "</option>\n";
}
echo "</select>";
?> |
Zie waarschijnlijk iets stoms over het hoofd