How to create an empty array

From: Date: Thu, 27 Feb 2003 17:17:00 +0000
Subject: How to create an empty array
Groups: php.general 
Request: Send a blank email to php-general+get-137428@lists.php.net to get a copy of this message
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

« previous php.general (#137428) next »