error handling in query execution
| From: | Chenri | Date: | Fri, 04 Mar 2005 05:42:13 +0000 |
| Subject: | error handling in query execution | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-38762@lists.php.net to get a copy of this message | ||
i have a script that
update records with this construct:
while( .... ){
query_string='UPDATE .......';
updateRecord(query_string);
}
the problem is when there are wrong query_string (such as incorect syntax)
can i make sure that the other query, the next one after the wrong query
still goes.
I've read about the @ operand but i still doesn't understand
does the script stop when the error occured or does it still
continue the process
--
Chenri J
Taman Palem Lestari B18 - 19A
Mobile CDMA Esia: (62) (21) 926 68 651
Email: chenrijano@gmail.com