Re: arrays

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

 



Jesús Alain Rodríguez Santos wrote:
if I have two arrays, example:

$a = array ("one", "two", "three", "four", "two");

$b = array ("seven", "one", "three", "six", "five");

How can I get in another variable a new array with the same elements into $a and $b.
  

$new_array = array_merge( $a, $b);

regards,

Mariano Guadagnini.
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08/06/2006

-- 
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