My code gives me the error
Parse error: syntax error, unexpected T_DOUBLE_ARROW, expecting ')' line 208
I keep getting this but it looks correct? Line 208 which is the second down.
array( "name" => "Colour Scheme",
"desc" => "Select the colour scheme for the theme",
"id" => $shortname."_color_scheme",
"type" => "select",
"options" => array("blue", "red", "green"),
"std" => "blue"),
please advise!
Thanks
My bet is that Jonah is correct and that the error in the line above this array. From the context of the trailing
,
I bet this is a mutli-dimensional array.If you include the code around your array I bet the problem is the line above.
Good luck.
T_DOUBLE_ARROW
is the token for=>
, so you have one which appears somewhere the parser doesn't expect it.Besides that trailing
,
, there is no error with the code you posted.