RE: [PHP] Array Help
| From: | Jack Dempsey | Date: | Tue, 27 Nov 2001 21:59:27 +0000 |
| Subject: | RE: [PHP] Array Help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75817@lists.php.net to get a copy of this message | ||
you can just kept adding []'s
$var["category"]["subcategory"]["Item"] = "url";
-----Original Message-----
From: Brian V Bonini [mailto:b-bonini@home.com]
Sent: Tuesday, November 27, 2001 4:56 PM
To: PHP Lists
Subject: [PHP] Array Help
How can I access the inner most info in this array?
Ie, Item and url
$var = array(
"category" => array(
"subcategory" => array(
"Item" => "url"
),
)
);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net