Jump to content

$_POST and multiple selects


Gaia

Recommended Posts

Hi,

I have a form that has a multiple select ( where you can choose more then one option ) and i can't seem to figure out how to retrieve all the selected options with $_POST.

When i changed to $_GET, it showed in the url &option=1&option=4&option=5, etc.

So, I know they are being passed as the same variable, but I'm wondering how to retrieve them all via $_POST.

Thanks.
Link to comment
https://forums.phpfreaks.com/topic/8761-_post-and-multiple-selects/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.