pushing variable to array in php code example
Example: array push php
<?php
$a=array("red","green");
array_push($a,"blue","yellow");
print_r($a);
?>
<?php
$a=array("red","green");
array_push($a,"blue","yellow");
print_r($a);
?>