Re: help with multi dimensional arrays
| From: | Steve Finkelstein | Date: | Thu, 24 May 2007 04:28:49 +0000 |
| Subject: | Re: help with multi dimensional arrays | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-255488@lists.php.net to get a copy of this message | ||
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.
>