i have written a script that will insert data into database after readingfrom csv file.But i get a problem when if due to some reason insert statement gets error .The whole uploading process stops.
What i want is that :
When ever insert statement gets error it should't stop,Should continue jumping on next record. and at the end it should me give msg that these many records are not being inserted due to this reason.
how to catch exceptions in php+mysql ?
Pls help
What i want is that :
When ever insert statement gets error it should't stop,Should continue jumping on next record. and at the end it should me give msg that these many records are not being inserted due to this reason.
how to catch exceptions in php+mysql ?
Pls help
Comment