How to check if script succesfully connected to the mysql ?
#1

how to check if the script succesfully connected to the DB or no and store the returned value in the same time?
new MySQL:g_Sql;
g_Sql = mysql_connect(mysql_host, mysql_user, mysql_database, mysql_password);
Reply


Messages In This Thread
How to check if script succesfully connected to the mysql ? - by fastayko - 06.01.2017, 15:53
Re: How to check if script connected to the mysql ? - by GoldenLion - 06.01.2017, 15:56
Re: How to check if script succesfully connected to the mysql ? - by fastayko - 06.01.2017, 15:59
Re: How to check if script succesfully connected to the mysql ? - by GoldenLion - 06.01.2017, 16:01
Re: How to check if script succesfully connected to the mysql ? - by fastayko - 06.01.2017, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)