Script: http://www.developphp.com/view.php?tid=1225
Adam teaches how to use PHP to parse multiple selection form fields in your HTML or HTML5 forms. The resulting variable is an array if you instruct the select field to handle multiple options. We have to break this array down to split the selections for our data processing needs, or you can choose to save the serialized complete array into one MySQL database field.
Just a quick note, Adam, (at 6:44) when using the foreach construct in the form foreach ($array as $key=>$value), unless the array is an array defined using your own keys, like $my_array = array("my_key"=>"my_value") or the array was modified, (I know you know this) the array key index starts with zero anyways, so there is no need to create an iterator. You can just use the $key variable in the loop...
jonathanmarvens 4 weeks ago
May God continue to bless you... Thank you so much. I think the only thing missing from your exceptional collection is a fully fledged PHP Point Of Sale. How about it?
eljagg 1 month ago
Nice
noelthesilent 1 month ago
The tutorial is very professionally presented.
ilovepiano 1 month ago
1st
theodor70941 1 month ago