the job if the
first fails
both of the query should be designed for not to raise any error
cheers.
alessandro
-Messaggio originale-
Da: manoj nahar [mailto:[EMAIL PROTECTED]
Inviato: venerdì 5 dicembre 2003 13.07
A: [EMAIL PROTECTED]
Oggetto: [PHP] Handling Database errors in php
Hi gu
Hi guys,
Column of table defined as primary key. there is violation and error
message from database.
1) First way is to check if the value is already in database and then
contuninue with insert
(this invloes an extra select for every insert and leaves
defined primary key redundant)
2 matches
Mail list logo