look at
http://www.php.net/manual/en/function.mssql-get-last-message.php Peter ----------------------------------------------- Excellence in internet and open source software ----------------------------------------------- Sunmaia www.sunmaia.net [EMAIL PROTECTED] tel. 0121-242-1473 ----------------------------------------------- > -----Original Message----- > From: Gabor Niederlaender [mailto:[EMAIL PROTECTED]] > Sent: 10 July 2002 12:37 > To: [EMAIL PROTECTED] > Subject: [PHP-DB] catch warnings? > > > Hi all! > > This is not a typical DB-Question, but I hope you give me some hints > either... > > If I insert a String instead of a date(f.Ex) into the DB, I get a > Warning: > > MS SQL message: Syntax error converting datetime from character > string. (severity 16) > > How can I catch these warnings in PHP? > > Best regards, > Gabor > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php