faqts : Computers : Programming : Languages : PHP : Not Quite PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

Entry

When a script has a bug, the page just hangs- even though error reporting is on (and used to work).

Mar 28th, 2008 17:55
ha mo, Matthew Wilkinson, Tim B,


Could this possibly be because the bug is in a loop of some sort and may
be causing an infinite loop?
eg.
$n = 1;
while ($n <= mysql_num_rows($result))
{
//some code that is buggy and prevents the next line from running
$n++;
}
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com