Good day everyone.
a run a while loop
while ( $row1 = mysql_fetch_array($result1) )
which will cycle through the MYSQL DB until there are no rows left.
what I'm trying to do is make it so that it stops after a max of 5.
I tried utting an if condition in the end of the loop
if ( $counter >= 5 )
{
unset ( $row1 );
}
but it doesn't seems to work..the loop continues.
Any idea's?