Help me.
#6

I changed
PHP Code:
if(mysql_errno(MainPipeline) != 0)
    {
        
printf("[MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host %s - DB: %s - User: %s"SQL_HOSTSQL_DBSQL_USER);
        print(
"[MySQL] Note: Make sure that you have provided the correct connection credentials.");
        
printf("[MySQL] Error number: %d"mysql_errno(MainPipeline));
        
SendRconCommand("exit");
    }
    else print(
"[MySQL] (MainPipeline) Connection successful toward MySQL Database Server!"); 
to:

PHP Code:
if(mysql_errno(MainPipeline) != -1)
    {
        
printf("[MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host %s - DB: %s - User: %s"SQL_HOSTSQL_DBSQL_USER);
        print(
"[MySQL] Note: Make sure that you have provided the correct connection credentials.");
        
printf("[MySQL] Error number: %d"mysql_errno(MainPipeline));
        
SendRconCommand("exit");
    }
    else print(
"[MySQL] (MainPipeline) Connection successful toward MySQL Database Server!"); 
and it working, i want reply real fine with it.
Reply


Messages In This Thread
Help me. - by Libbyphay - 28.07.2018, 10:49
Re: Help me. - by JasonRiggs - 28.07.2018, 10:50
Re: Help me. - by Libbyphay - 28.07.2018, 10:52
Re: Help me. - by JasonRiggs - 28.07.2018, 10:54
Re: Help me. - by Libbyphay - 28.07.2018, 10:57
Re: Help me. - by Libbyphay - 28.07.2018, 11:05

Forum Jump:


Users browsing this thread: 4 Guest(s)