Re: help with multi dimensional arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Novitski wrote:

Looks like you are missing a comma on line 3.

James Lockie wrote:
I get a syntax error on strlen.

   $newTypes = array();
   $newTypes[0] = array();
   $newTypes[0][0] = "Starting with"
   $newTypes[0][1] = strlen( $newTypes[0][0] );


Missing semicolon;

Paul
Argh, that is the worst error. :-(
The error messages in PHP suck.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux