Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
I don't know if the code is incomplete on purpose, but try this:
PHP Code:
while ($row=mysql_fetch_array($query)) { $reqID = $row['Request ID']; $reqIDoptions .= "<OPTION VALUE=\"$reqID\">" . $reqID ."</option>"; }
and
HTML Code:
<SELECT NAME="reqID">
<?=$reqIDoptions?>
</select>
Understand that you have a select element, and each line in the drop down is 1 option.
It's not 1 option that contains every possible values.
__________________
Only a biker knows why a dog sticks his head out the window.
Last edited by tripy; 02-26-2008 at 02:31 PM..
|