Re: array_push in array maps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Need solve another case regarding array maps. Is it possible to insert more
values like with array_push in arrays as bellow?

$colors = array(
              'red' => '#ff0000',
              'green' => 'X00ff00',
              'blue' => '#0000ff'
           );


Yes.

http://www.php.net/array_push

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux