Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php add element to array


<?php
$stack = array("orange", "banana");
array_push($stack, "apple", "raspberry");
?>

Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #add #element #array
ADD COMMENT
Topic
Name
4+8 =