Monday, July 19, 2010

PHP tutorial Part4

Posted by Syarif | Monday, July 19, 2010 | Category: |

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”;
?>

Currently have 0 comments:


Leave a Reply