MySQL Connect
#3

Does it really matter which one comes first and which one does not?

When you want the opposite, you do exactly that:
pawn Код:
if(g_SQL != MYSQL_INVALID_HANDLE && mysql_errno(g_SQL) == 0)
or simply add the statement inside !(statement)
pawn Код:
if(!(g_SQL == MYSQL_INVALID_HANDLE || mysql_errno(g_SQL) != 0))
Reply


Messages In This Thread
MySQL Connect - by KamilPolska - 02.07.2018, 15:55
Re: MySQL Connect - by Zeth - 02.07.2018, 16:20
Re: MySQL Connect - by Calisthenics - 02.07.2018, 16:26

Forum Jump:


Users browsing this thread: 1 Guest(s)