alaham Posted March 20, 2011 Share Posted March 20, 2011 $BoxSize = array("smallbox" = array("length" => 12, "width" => 10, "depth" => 2.5), "mediumbox" = array("length" => 30, "width" => 20, "depth" => 4), "largebox" = array("length" => 60, "width" => 40, "depth" => 11.5)); Quote Link to comment https://forums.phpfreaks.com/topic/231215-get-this-error-parse-error-parse-error-expecting-in-cwampwwwchap6r/ Share on other sites More sharing options...
johnny86 Posted March 20, 2011 Share Posted March 20, 2011 $BoxSize = array("smallbox" = array("length" => 12, "width" => 10, "depth" => 2.5), "mediumbox" => array("length" => 30, "width" => 20, "depth" => 4), "largebox" => array("length" => 60, "width" => 40, "depth" => 11.5)); Quote Link to comment https://forums.phpfreaks.com/topic/231215-get-this-error-parse-error-parse-error-expecting-in-cwampwwwchap6r/#findComment-1190048 Share on other sites More sharing options...
sasa Posted March 20, 2011 Share Posted March 20, 2011 change to $BoxSize = array("smallbox" => array("length" => 12, "width" => 10, "depth" => 2.5), "mediumbox" => array("length" => 30, "width" => 20, "depth" => 4), "largebox" => array("length" => 60, "width" => 40, "depth" => 11.5)); change '=' to '=>' after "smallbox", "mediumbox" and "largebox" keys Quote Link to comment https://forums.phpfreaks.com/topic/231215-get-this-error-parse-error-parse-error-expecting-in-cwampwwwchap6r/#findComment-1190054 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.