Parse error setting an array - why?
soazine@pop.erols.com
soazine at pop.mail.rcn.net
Fri May 30 10:59:11 EDT 2003
// DETERMINE IF THE USER'S BROWSER HAS JAVASCRIPT BY REARRANGING THE
get_browser() OBJECT AS AN ARRAY
$browser = get_browser();
foreach ($browser as $key => $val)
$browserArray($key) = $val;
I am getting a parse error setting up an array. I have a get_browser()
object that I convert into an array (for ease in handling by me) that seems
to fail upon array creation. Bluntly put, what did I do wrong?
Thanx
Phil
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
More information about the talk
mailing list