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)); 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)); 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 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
Archived
This topic is now archived and is closed to further replies.