Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

array_unshift

$cola = array("naranja", "banana");
array_unshift($cola, "manzana", "frambuesa");
print_r($cola);

Array
(
    [0] => manzana
    [1] => frambuesa
    [2] => naranja
    [3] => banana
)
Source by www.php.net #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
3+4 =