Forum Moderators: coopster
I want to make sure that each value is placed in the appropriate column-- even if the array is out of order.
How can I write a loop which parses the array and places the values in the proper column?
If you want to know if a specific one exists, you can use array-key-exists [us.php.net]...
if(array_key_exists('col_name', $array)) { // insert }