Detect db
#2

use:

PHP код:
if(handle && mysql_errno(handle) == 0
handle = the mysql handle;

This condition will be true if the connection was successful.
Reply


Messages In This Thread
Detect db - by Edw - 23.10.2016, 10:21
Re: Detect db - by Kruzz - 23.10.2016, 11:58

Forum Jump:


Users browsing this thread: 1 Guest(s)