This is how i make my drop downs, see if this help...
echo "
show all";
$results = @mysql_query("SELECT * FROM table");
while($row = mysql_fetch_row($result)) {
echo "$row[0]";
}
echo "";
cheers,
- Sebastian
-Original Message-
_free_result($qry);
}
else echo "Listbox cannot be built because of an invalid
SQL query.";
return $items;
} // end ListboxMatch
> -Original Message-
> From: Bobby Rahman [mailto:[EMAIL PROTECTED]
Hiya
Im looking for any tutorials/snippets of code to show me how to code a
dynamic drop down box/list in a php form.
e.g a drop down menu of all current users (I assume this will need to
connect to mysql db and select all usernames from table user and place in
the menu.
here what I have so
3 matches
Mail list logo