Insert value into array PHP
PHP array_push() Function Main Tips
- The array_push() function inserts elements into the end of an array .
- You can as many values , as you like.
- Your added elements will always have numeric keys, even if your array has string keys.
- Returns the elements number in the array .
- Newly introduced in PHP4.