.push php code example
Example 1: array_push php
<?php
$cesta = array("laranja", "morango");
array_push($cesta, "melancia", "batata");
print_r($cesta);
?>
Example 2: array push php
<?php
$a=array("red","green");
array_push($a,"blue","yellow");
print_r($a);
?>