How To Join To Arrays Together Using Php

RegisterLogin
How To Join To Arrays Together Using Php
Post Description: I Want To Know How To Join To Arrays Together Using Php Using A Linux Httpd Apache Server
Tags: How, To, Join, To, Arrays, Together, Using, Php
This Post Was Posted On Oct 15, 2010 By Juni #2585
i have two arrays i want to put together. i want to join the values of each array to become one array. i have these two arrays

$cars
$trucks

so all the values i want them to become one.

PHP CODE
<php?
array_merge($cars,$trucks);
?>

Leave Your Comments
webune
#2595 1
you can use the array_push() functions. it works great
Oct 16, 2009 Reply Report abuse
©2011 Webune Forums - Sat Dec 24, 2011 1:15 pm
Powered by: Webune Forums V3