PHP arrays are defined with the array() function
$myArray = array(“a”, “b”, “c”)
And to loop over it:
foreach ($myArray as $value){
echo “$value”;
}
PHP arrays are defined with the array() function
$myArray = array(“a”, “b”, “c”)
And to loop over it:
foreach ($myArray as $value){
echo “$value”;
}
Comments are closed, but trackbacks and pingbacks are open.