Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

array_push

<?php
$a=array("red","green");
array_push($a,"blue","yellow");
print_r($a);

Array ( [0] => red [1] => green [2] => blue [3] => yellow )
?>
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+7 =