Thread: [Solved] sql in amx ?
View Single Post
nacknic
Senior Member
Join Date: Mar 2019
Old 01-26-2021 , 06:59   Re: sql in amx ?
Reply With Quote #7

Quote:
Originally Posted by Black Rose View Post
You're gonna kick yourself.

Code:
    if(SQL_Connection != Empty_Handle) client_print(0,print_chat,"%s",error)
    else sql_select(id)
->
Code:
    if(SQL_Connection == Empty_Handle) client_print(0,print_chat,"%s",error)
    else sql_select(id)
hahaha thank you, it was late at night when i was wrote this shit.
and after spend 1h i was manage to fix xampp problems.
and because the db on my xampp on my pc and the server far from me i set timout to 120sec in SQL_MakeDbTuple

Last edited by nacknic; 01-26-2021 at 07:18.
nacknic is offline