Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php add item to array

<?php
  $z = ['me','you', 'he'];
  array_push($z, 'she', 'it');
  print_r($z);
?>
Source by www.bitdegree.org #
 
PREVIOUS NEXT
Tagged: #php #add #item #array
ADD COMMENT
Topic
Name
5+2 =