Re: [PHP-DB] option selected

2002-11-25 Thread Kae Verens
mike karthauser wrote: Once i have selected from the drop box the variable is submitted back to my table and saved. When re-edit the data - the record already has a value for catcode which i want to reflect within the drop box - in html it would be the addition of selected="selected" within th

[PHP-DB] option selected

2002-11-25 Thread mike karthauser
I'm using the contents of a table to print an option list in another form to allow me to cross reference the tables in my data. \n"); while ($myrow = mysql_fetch_array($result)) { printf("%s\n", $myrow["catcode"], $myrow["title"]); } printf("\n"); ?> Once i have selected from the drop box the va