-2
I had an error running a code in Php
Fatal error: Maximum Execution time of 30 Seconds exceeded
$validade = mysql_query($sql) or die (mysql_error());
The code works perfectly. Except I get this code at the end. Not that it bothers me but only to try to solve
the Loop:
For ($contador = 0; $contador = 1; $contador++){
If you simply increase the time limit will solve the error message, but you will be masking the real problem, you have to figure out which is the heavy process and try to optimize it, because if you leave so can be sure you will have overload problems on the server, which may even result in suspension of service...
– Jader A. Wagner
@Jader is right. You can put your query here, maybe there is the error.
– Sergio
Looking at your previous questions, I believe the problem is the query: http://answall.com/questions/28815/mostrar-query-problema-ids-different
– gmsantos
It looks like an endless loop error... Didn’t return the line?
– Papa Charlie
Single possible loop For ($counter = 0; $counter = 1; $counter++){
– ChrisAdler
It’s the same loop, see how to assemble a loop for, you have not informed what the criteria of your loop.
– Papa Charlie