Thread
:
Tip : merging arrays in php
View Single Post
#
2
(
permalink
)
05-28-2008, 05:25 AM
garima
Junior Member
18
posts this year.
the lights are on!
User is on their way up.
Join Date: May 2008
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Merging two arrays together is a one step command called
array_merge
.
<?php
$pantry_food = array_merge ($pantry, $pantry2);
?>
__________________________________________________ ________
Web site Design
Last edited by garima; 05-28-2008 at
06:29 AM
.
garima
View Public Profile
Send a private message to garima
Find all posts by garima