dyluck Posted January 11, 2010 Share Posted January 11, 2010 Hi everyone! I have an array say array(1,0,1) how can I put the values from say this array: array(2,3) into the first to be like array(1,0,1,2,3) Thanks for your help! Link to comment https://forums.phpfreaks.com/topic/187997-a-simple-array-thingy/ Share on other sites More sharing options...
calmchess Posted January 11, 2010 Share Posted January 11, 2010 use array_merge($arr1,$arr2); Link to comment https://forums.phpfreaks.com/topic/187997-a-simple-array-thingy/#findComment-992501 Share on other sites More sharing options...
dyluck Posted January 11, 2010 Author Share Posted January 11, 2010 works great! thank you! Link to comment https://forums.phpfreaks.com/topic/187997-a-simple-array-thingy/#findComment-992505 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.