how to add value in php array code example
Example: add item to array in 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);
?>