Re: arrays and php
| From: | CPT John W. Holmes | Date: | Tue, 30 Sep 2003 18:35:13 +0000 |
| Subject: | Re: arrays and php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164437@lists.php.net to get a copy of this message | ||
From: "Jason Wong" <php-general@gremlins.biz>
> On Wednesday 01 October 2003 02:14, Chris W. Parker wrote:
> > Jason Wong <mailto:php-general@gremlins.biz>
> >
> > on Tuesday, September 30, 2003 11:06 AM said:
> > >> echo "<pre>".print_r($chk)."</pre>";
> > >>
> > >> It will not work.
>
> Actually, the above *does* work!
It depends on how you define "works" :)
You'll end up with output like this:
Array
(
[0] => one
[1] => two
[2] => three
)
<pre>1</pre>
which "works" but is not what was desired.
---John Holmes...