editable option list

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
hey yall,

I fill a list of option from a mysql table

$resultprod = mysql_query ("describe my_table");
while($row = mysql_fetcharray($resultprod)) {
  echo ('<option value="' . $row['Field'] . '">' . $row['Field'] .
echo "</select>";

but I would also like the user to be able to add itīs own value if the
value he/she want to enter is not in the mysql table. how can I do

thanx in advance


Re: editable option list

kindermaxiz@yahoo.com wrote:
Quoted text here. Click to load it

Use a textbox. Check in the script if it is filled and save it to db.

Site Timeline