Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2003022

Re: [PHP] How to create an empty array From: Adam Voigt (adam <email protected>)
Date: 02/27/03

$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 <email protected>)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc