Hi all🙂 I would like to build an array where I declare the key and the vlue. I get a parse error when I tried the below. How can I do this??
$expenses = array ( "2343", => "8", "2344", => "7", "2345", => "8" );
there should be no comma after "2343" or "2344" or "2345
Why do I get the below error?? Thanx Parse error: parse error, unexpected T_DOUBLE_ARROW, expecting ')'
Nevermind! You were right🙂 Bye