itazev Posted August 28, 2007 Share Posted August 28, 2007 Hey everyone! How do I get the values stored in an array using $_POST? In the HTML form there is a multiselect listbox but when I do $my_var = $_POST['multiselect_listbox']; it will return only the last selected element. Thanks for your help! Link to comment https://forums.phpfreaks.com/topic/67075-_postmultiselect_listbox/ Share on other sites More sharing options...
Jessica Posted August 28, 2007 Share Posted August 28, 2007 I think the name needs to be like this name="multiselect_listbox[]" so it can be an array. This is in your form's HTML part. Link to comment https://forums.phpfreaks.com/topic/67075-_postmultiselect_listbox/#findComment-336383 Share on other sites More sharing options...
itazev Posted August 28, 2007 Author Share Posted August 28, 2007 Still not working. But thanks for your time. Anybody!? Please!! Link to comment https://forums.phpfreaks.com/topic/67075-_postmultiselect_listbox/#findComment-336624 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.