Continue PHP Script after error? -
mysql_query("select active... business relationship = '".$account."'") x = 1; where(x<10){ if($active == 1){ mysql_query("update scriptstatus set active = '0' business relationship = '".$account."'"); /// script errors x++; } } mysql_query("update scriptstatus set active = '1' business relationship = '".$account."'");
i have script, has errors , makes script stop.
can forcefulness script run until end?
no, not possible, nor idea. php-scripts terminated upon error. the real solution prepare errors instead.
a side tip: seek looking proper ide informs on potential problems , errors while type.
php
No comments:
Post a Comment