In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
}print("key: $each_array[0] value: $each_array[1]");
}
}When I get to an array within HTTP_POST_VARS, it prints:
}key: var_name value: Array
}
}ok, but when I try to do an each on that array: (and maybe this is where I
}am wrong)
}$each_array2 = each($each_array[0])
}
There's your problem.. Your trying to do each(..) on, what in your
example above, is set to "var_name" ...
Try changing that to:
$each_array2 = each($each_array[1]);
It's the second variable in your example that's an Array, (or it may
just be a string set to the word "Array".. Who knows?.. =)
--
Jeff Carnahan - [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]