Re: subtitute of mysql_error()

From: Date: Wed, 01 Aug 2007 13:47:43 +0000
Subject: Re: subtitute of mysql_error()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-259993@lists.php.net to get a copy of this message
Patrik Hasibuan wrote:
Dear my friends.... What is the substitute of mysql_error() ? This line of my code does not work anymore: $hslgbr=mysql_query("$sqlgbr","$konek") or die ( mysql_error() ); Thank you very much in advance.
In what way does it "not work anymore"? The code above is perfectly valid. Incidentally, there is no need to put a single variable in quotes - all this does is cause extra pointless work for the PHP engine. -Stut -- http://stut.net/

« previous php.general (#259993) next »