Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

array_push in php

<?php
// Insert "blue" and "yellow" to the end of an array:


$a=array("red","green");
array_push($a,"blue","yellow");
print_r($a);
?>
 
PREVIOUS NEXT
Tagged: #php
ADD COMMENT
Topic
Name
2+6 =