Re: subtitute of mysql_error()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux