>I have a site with all my movies and stuff stored in a database. And I have >made a admin page where I can add, delete and update records. When I add new >records, I have made a listbox for the category (ex. action, comedy etc.) so >I dont have to write it every time I add a new record. But when I push the >update button and the data thats stored in the database is printed its >printed just in a textarea. I know its possible to list the data in a >listbox, but how do I get the right category selected for the movie I >choose?
You probably need to have some variant of: <SELECT NAME=category SIZE=5 MULTIPLE> <OPTION>action</OPTION> <OPTION>comedy</OPTION> <OPTION>etc</OPTION> </SELECT> instead of whatever you have now. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php