how to add a new data to array in php code example
Example: php add item to array
<?php
$z = ['me','you', 'he'];
array_push($z, 'she', 'it');
print_r($z);
?>
<?php
$z = ['me','you', 'he'];
array_push($z, 'she', 'it');
print_r($z);
?>