-----Original Message----- From: Andrew Williams [mailto:andrew4williams@xxxxxxxxx] Sent: 27 March 2009 10:12 AM To: PHP LIST Subject: WHILE LOOP PROBLEM can some tell why the below loop stop running after some time. $start=10; const run=0; while($start >run){ //do somthing } -- The webserver or php environment is probably terminating the script. It will only run for the max number of seconds set in your php.ini file. Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php