Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php add variable to array

<?php
	$myArray = array(); // Init empty array

	$myArray[] = $value; // Add value to the array
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #add #variable #array
ADD COMMENT
Topic
Name
5+9 =