I have been trying to get a variable to increment and it won't. I have no idea why. I have never had this happen before.
I even tried to add 30 to the variable and it would not add. I tried doing this using both a for and while loop. When I used the for loop it still would not increment.
Here is the code.
$counter = 0;
//for ($counter = 0; $row = mysql_fetch_array($result); $counter++){
while ($row = mysql_fetch_array($result)){
echo $counter . "<br><br>";
$counter++;
}
Is there possibly something in the php.ini file that I could change that will allow or disallow addition.