note 13491 added to ref.array.php
| From: | jengo at phpgroupware dot org | Date: | Tue, 19 Jun 2001 04:45:52 +0000 |
| Subject: | note 13491 added to ref.array.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14425@lists.php.net to get a copy of this message | ||
There is a nice undocumented function in PHP 4 only called print_r(), which will return all of the
values of an array.
echo '<pre>'; print_r($array); echo '</pre>';
http://www.php.net/manual/en/ref.array.php