Jump to content

Join 2 arrays together


aximbigfan

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.