RE: Printing structure and data of array
| From: | Tim Ward | Date: | Mon, 21 Jan 2002 10:24:27 +0000 |
| Subject: | RE: Printing structure and data of array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81341@lists.php.net to get a copy of this message | ||
Foreach($array as $key=>$value) ech0("$key=>$value<br>");
Tim
www.chessish.com <http://www.chessish.com>
----------
From: Daniel Alsén [SMTP:d@mindbash.com]
Sent: 20 January 2002 19:33
To: PHP List
Subject: Printing structure and data of array
Hi,
i know i have this answered before. But i can´t find that mail in
the
archive.
How do i print an array to see both the structure and the data
within?
("test" => "value", "test2" => "value2")...
# Daniel Alsén | www.mindbash.com #
# d@mindbash.com | +46 704 86 14 92 #
# ICQ: 63006462 | +46 8 694 82 22 #
# PGP: http://www.mindbash.com/pgp/ #