Jump to content

get this error: Parse error: parse error, expecting `')'' in C:\wamp\www\Chap6\r


alaham

Recommended Posts

  $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

  $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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.