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 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. 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 Link to comment https://forums.phpfreaks.com/topic/138064-join-2-arrays-together/#findComment-721701 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.