|
Posted by Jerry Stuckle on 10/22/98 11:51
Bob Sanderson wrote:
> Is there a way, using PHP, to detect and display an error from a MySQL
> server? Can I, by using error numbers or some similar method, create my own
> error messages?
>
> tia
You can get the MySQL error number with mysql_errno() and the text with
mysql_error(). Then just display whatever text you wish.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|