gorskyLTD Posted November 20, 2006 Share Posted November 20, 2006 Hi, i got small problem, i have created one multiple choice drop down box!Now i choose multiple items from drop down box, by holding crt key, and then press submit, but it returns only last selected variable! How can i return array of selected variables? Thanks :-\ Link to comment https://forums.phpfreaks.com/topic/27852-multiple-variables-from-one-drop-down-box/ Share on other sites More sharing options...
hitman6003 Posted November 21, 2006 Share Posted November 21, 2006 change the name to something like "selectbox[]". This will create a subarray in the $_POST superglobal. Link to comment https://forums.phpfreaks.com/topic/27852-multiple-variables-from-one-drop-down-box/#findComment-127753 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.