PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Can anyone explaine to me how to make a multy select form return the selected option ID's or whatever to diferentiate them from eachother aka if i select o1 and o4 the POST would return me those values
first, you gotta give it a name. second you gotta make the name an array, because you will want an array from that name. third, use the multiple="multiple" as the other way is depreciated or somthin. this works:
A great way to "look" at what is being posted is to put this code in the page you are posting to. Look at what is being posted and play around with it.