aximbigfan Posted December 22, 2008 Share Posted December 22, 2008 Anyone know of a function to join to arrays together? I researched and didn't find one. Basically: Array { 0 => 'a' 1 => 'b' 2 => 'c' } + Array { 0 => 'a' 1 => 'b' 2 => 'c' } Should = Array { 0 => 'a' 1 => 'b' 2 => 'c' 0 => 'a' 1 => 'b' 2 => 'c' } Thanks, Chris Quote Link to comment https://forums.phpfreaks.com/topic/138064-join-2-arrays-together/ Share on other sites More sharing options...
Maq Posted December 22, 2008 Share Posted December 22, 2008 Look at array_merge. Quote Link to comment https://forums.phpfreaks.com/topic/138064-join-2-arrays-together/#findComment-721686 Share on other sites More sharing options...
aximbigfan Posted December 22, 2008 Author Share Posted December 22, 2008 Look at array_merge. That works, Thanks... Chris Quote Link to comment https://forums.phpfreaks.com/topic/138064-join-2-arrays-together/#findComment-721701 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.