Re: help with multi dimensional arrays

From: Date: Thu, 24 May 2007 21:56:00 +0000
Subject: Re: help with multi dimensional arrays
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-255568@lists.php.net to get a copy of this message
On Wed, May 23, 2007 9:59 pm, 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] ); If you are missing the ; in the line before, PHP gets pretty confused and tries to smush the two lines together, essentially, and then... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#255568) next »