Welcome to WebmasterWorld Guest from 126.96.36.199 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Subscribe to WebmasterWorld
While loop going to infinity Opps tomhumf msg:3816823 12:39 pm on Dec 31, 2008 (gmt 0) Hi,
I was just writing a while loop to update one of my MySQL tables. I think I may have accidentally written it to go on forever, hence I can't load up any of the pages on the server. Any ideas on how to correct this?
I have got rid of the function but everything is still locked up.
tomhumf msg:3816826 12:51 pm on Dec 31, 2008 (gmt 0)
Oh it seems to have sorted itself out coopster msg:3816952 4:45 pm on Dec 31, 2008 (gmt 0)
By getting rid of the function? In what language is your application written? tomhumf msg:3819431 1:35 pm on Jan 5, 2009 (gmt 0)
It's PHP. I removed the function from the pages. Not sure if this solved the problem, or something was reset on the server. It's o.k now anyway. eelixduppy msg:3819601 5:24 pm on Jan 5, 2009 (gmt 0)
>> locked up
I imagine that there was something hanging with your server, or perhaps an issue with your local computer or browser. Glad that it is now resolved, though.
tomhumf msg:3820176 1:12 pm on Jan 6, 2009 (gmt 0)
I think it was the server, none of the pages on my domain would load, but the rest of the internet worked fine.