RE: [PHP-DB] catch warnings?

2002-07-10 Thread Peter Lovatt
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

Re: [PHP-DB] catch warnings?

2002-07-10 Thread Adam Alkins
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

Re: [PHP-DB] catch warnings?

2002-07-10 Thread Michael Bretterklieber
Hi, try SELECT @@ERROR as errorcode bye, Adam Alkins schrieb: 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