/ Published in: PHP
Allows me to work with forms a little easier!
Expand |
Embed | Plain Text
//Split an array into two colums //Use in simple loop //Help to update functions function post2Multi($post){ for($i=0; $i<count($post); $i++){ $updates[0][] = $names[$i]; $updates[1][] = $post[$names[$i]]; } return $updates; }
You need to login to post a comment.
