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

Reply via email to