Re: Using Arrays in PHP array_push
array_push -- Push one or more elements onto the end of array
Example: array_push()
$stack = array ("orange", "banana");
array_push ($stack, "apple", "raspberry");
This example would result in $stack having the following elements:
Array
(
[0] => orange
[1] => banana
[2] => apple
[3] => raspberry
) |