How to select a specific sql id
#1

Hello, I need to know how I can select a specific sql_id for check is his exist or not

Actually, the command send me "YES it EXISTS", but not in my database

For edit, change position etc..


Code: https://pastebin.com/uizXFDp1
Reply
#2

PHP Code:
    if(idjob == -1)
    {
        
SendMessage(playerid, -1"No");
        return 
1;
    }
 
    
SendMessage(playerid, -1"Yes"); 
It should be like this

PHP Code:
    if(idjob == -1)
    {
        
SendMessage(playerid, -1"No");
    }
    else
    {
        
SendMessage(playerid, -1"Yes");
    } 
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)