PHP Coding Tips

Tuesday, August 7, 2012

How to merge (join) two arrayis in PHP together ?

You can merge all elements of two and more arrays into one array by array_merger func:$summaricArray = array_merge( $firstPartArray , $secondPartArray );This results in all elements from both arrays in summaricArray

No comments:

Post a Comment