Read with Formatting | Join TechSpot! (it's free) | Bookmark / Share this



Inserting into mysql with a multiselect box WITH PHP

alvdy
07-16-2007, 04:21 AM
Hello There guys.
Ages since ive posted been busy with school etc.
I am doing a computing course that requires HTML and PHP and MYSQL database. HERE (http://comp.waimate-high.school.nz/apoc/index.html)

I have an order form that has a multiselect box on it.
http://comp.waimate-high.school.nz/apoc/Admin%20Page.htm

As you can see you can select just one or both of the values in the size box.
How do i upload these values to the Database if just one is selected or if both are selected??? How do i need to set the database to recieve multiple values?


The HTML for the form is HERE (http://homepages.ihug.co.nz/~wlvdy/orderform.html)
The form posts to a php file insert.php available HERE (http://homepages.ihug.co.nz/~wlvdy/insert.html)

Thanks
Allan

 Top Technology News

 Software Downloads

Copyright © 1998-2008 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.