How to fill an array

    Date: 07/31/06 (PHP Community)    Keywords: no keywords

    Using this array type:

    $a = array(
       
    "one" => 1,
       
    "two" => 2,
       
    "three" => 3,
       
    "seventeen" => 17
    );



    In the example above $a is set and that's it. What if I wanted $a to contain multiple sets of data? How would I populate $a while looping through a data set?

    Source: http://community.livejournal.com/php/478616.html

« Script/syntax highlighting || Email/join form spam »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home