Re: help with multi dimensional arrays

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

 



Might I suggest using an IDE to develop your code in. It would be able
to spot simple oversights such as syntax errors. I personally use Zend
Studio, however if you aren't looking to invest in a license, there are
plenty of open source solutions out there.

Cheers,

- sf

James Lockie wrote:
> 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