Is it possible to read array variables one by one in a numeric array in PHP? I have an array that I need to read each element and depending on the element, do something else. But I am finding that there are no functions to read each element of a numeric array. Help is appreciated.
should this not work
for ($i = 0; i<count($array1); $i++)
{
$j=0;
$var1 = $array1[$j];
$j++;
echo $store3;
}
My program hangs due to this loop.