RE: [PHP] Is there such an array like $array[][]?

2001-04-25 Thread Tim Ward
sage- > From: Robert V. Zwink [mailto:[EMAIL PROTECTED]] > Sent: 24 April 2001 15:20 > To: Tim Ward > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] Is there such an array like $array[][]? > > > I don't understand your different definitions: "muti-dimensional

RE: [PHP] Is there such an array like $array[][]?

2001-04-24 Thread Robert V. Zwink
: Tim Ward [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 9:54 AM To: 'Robert V. Zwink' Subject: RE: [PHP] Is there such an array like $array[][]? my point was that what appear to be multi-dimensional arrays in php are not that at all. What looks like a 2d array is fact an

RE: [PHP] Is there such an array like $array[][]?

2001-04-24 Thread Robert V. Zwink
fine for me. Robert Zwink -Original Message- From: Tim Ward [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 8:06 AM To: '[EMAIL PROTECTED]' Subject: RE: [PHP] Is there such an array like $array[][]? 1. there are no multi-dimensional arrays in php, just single dimens

RE: [PHP] Is there such an array like $array[][]?

2001-04-18 Thread Tim Ward
--Original Message- > From: Plutarck [mailto:[EMAIL PROTECTED]] > Sent: 17 April 2001 17:42 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Is there such an array like $array[][]? > > > PHP can be a tad screwy with how it handles multi-dimensional > arrays, but > yes PHP handles

Re: [PHP] Is there such an array like $array[][]?

2001-04-17 Thread Plutarck
Woh, I had no idea PHP supported more than 2 dimensions...lol, was that a recent addition? I could _sware_ I originally read it on either zend.com or in the manual that 2 dimensional arrays are all that are supported...then again, this is why I don't gamble :) Live and learn, lol. Guess I shoul

Re: [PHP] Is there such an array like $array[][]?

2001-04-17 Thread CC Zona
In article <9bhrri$sn9$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Plutarck") wrote: > Just another option, but feel free to use multi-dimensional arrays. Just be > aware that PHP supports only two dimensions (so $array[][][] will not work), > and if you try and get fancy with sort() and count() you

Re: [PHP] Is there such an array like $array[][]?

2001-04-17 Thread Plutarck
PHP can be a tad screwy with how it handles multi-dimensional arrays, but yes PHP handles them. No real speed problems with them either. But you may just want to use an associative array like: $loc = array("y" => $y, "x" => $x); Then just use $loc["y"] and $loc["x"]. Just another option, but f

Re: [PHP] Is there such an array like $array[][]?

2001-04-17 Thread Jack Dempsey
yes, that's a multi-dimensional array, which is fine in php (and everything else i can think of =P)... -jack Scott Fletcher wrote: > > Hi! I am wondering if there is such a php array that can take care of the x > and y axis data. I figure that using this array type, $axis[$x][$y] would > do t

[PHP] Is there such an array like $array[][]?

2001-04-17 Thread Scott Fletcher
Hi! I am wondering if there is such a php array that can take care of the x and y axis data. I figure that using this array type, $axis[$x][$y] would do the trick. Would it work? If not, then education me on what would work! Thanks! Scott -- PHP General Mailing List (http://www.php.net/)