Re: function for size of array
| From: | Scott Fletcher | Date: | Fri, 05 Jul 2002 14:20:24 +0000 |
| Subject: | Re: function for size of array | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105656@lists.php.net to get a copy of this message | ||
Ah! Thanks! By the way, it's "count()" with a "n". :-)
"Terence Kearns" <tkearns@fastmail.fm> wrote in message
news:3D25A9CE.7040809@fastmail.fm...
> cout($array)
>
> Scott Fletcher wrote:
>
> >Is there PHP function that would get the total array count.
> >
> >ie
> >--snip--
> >$array[0] = "zero";
> >$array[1] = "one";
> >$array[2] = "two";
> >
> >$array_count = <function to get the array count>
> >--snip--
> >
> >And I would get 3 as an answer.
> >
> >Thanks,
> > FletchSOD
> >
> >
> >
> >
> >
>
>
>