error handling in query execution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux