Monday, July 19, 2010
ARRAY
Array is Index that allows you to make one variable for variety of value. Array can be declare with numeric or string.
For Example:
<?
$var[1] = “Hello PHP”;
$var[2] = “I start using PHP.”;
$var[3] = “Array on PHP.”;
?>
or
<?
$num[“pencil”] = “Hello”;
$num[“eraser”] = “PHP code”;
?>
Subscribe to:
Post Comments (Atom)
Currently have 0 comments: