Forums

Problem with multiselect box and db storage

marketson 06 Mar, 2010
Hello everyone, I have a problem with the storage of the data entered via multiselect box. When I go to save the form in the database there is only the latest data of multiselection though I register several. How can I change the code of the form to save all the data of multiselect I'm going to select?

Thanks to all of you soon
Antonio
GreyHead 06 Mar, 2010
Hi Antonio,

You need to give the select an array name with [] at the end like name='select_4[]'

Bob
This topic is locked and no more replies can be posted.