Re: catch warnings?

From: Date: Wed, 10 Jul 2002 12:27:41 +0000
Subject: Re: catch warnings?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-20448@lists.php.net to get a copy of this message
> 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? I believe mssql_get_last_message() is what you want. -------------- Adam Alkins http://www.rasadam.com --------------

« previous php.db (#20448) next »