Re: How to create an empty array

From: Date: Thu, 27 Feb 2003 17:18:43 +0000
Subject: Re: How to create an empty array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137429@lists.php.net to get a copy of this message
$category_list = array(); On Thu, 2003-02-27 at 12:17, Michael Zornek wrote: I want to create an empty array so I can add elements to it later I'm currently using: $catergory_list[] =array(); But when I try to print this list I discover the element zero has the string "Array" in it. How can I create a truly empty array? ~ Mike -- MikeZornek.com New blog, new Q&A column, new content everywhere! http://www.mikezornek.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Adam Voigt (adam@cryptocomm.com) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.general (#137429) next »