TechSpot

Inserting into mysql with a multiselect box WITH PHP

By alvdy
Jul 16, 2007
Post New Reply
  1. 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

    I have an order form that has a multiselect box on it.
    http://comp.waimate-high.school.nz/apoc/Admin Page.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
    The form posts to a php file insert.php available HERE

    Thanks
    Allan
     


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.