SQL Help
#1

This code...

PHP код:
SQL_SaveLicenses(playerid)
{
    if (!
PlayerData[playerid][pLogged])
        return 
0;
    static
        
query[768];
        
    
format(querysizeof(query), "UPDATE `licenses` SET `licID` = '%d', `ownerID` = '%d', `issuerID` = '%d', `issueDate` = '%s' WHERE `ID` = '%d'",
        
LicenseData[playerid][licID],
        
LicenseData[playerid][ownerID],
        
LicenseData[targetid][issuerID],
        
LicenseData[playerid][issueDate]
    }; 
// this line
    
mysql_function_query(g_iHandlequeryfalse"""");
    return 
1;
// this line 
Gives these errors...

Quote:

error 010: invalid function or declaration
error 010: invalid function or declaration

The lines are highlighted, it's just the brackets
Reply


Messages In This Thread
SQL Help - by Luke_James - 17.08.2015, 16:14
Re: SQL Help - by DaniceMcHarley - 17.08.2015, 16:20
Re: SQL Help - by arad55 - 17.08.2015, 16:26
Re: SQL Help - by Luke_James - 17.08.2015, 16:27
Re: SQL Help - by Luke_James - 17.08.2015, 16:31
Re: SQL Help - by DarkLored - 17.08.2015, 16:31
Re: SQL Help - by Luke_James - 17.08.2015, 16:36
Re: SQL Help - by DaniceMcHarley - 17.08.2015, 16:38
Re: SQL Help - by arad55 - 17.08.2015, 16:42
Re: SQL Help - by Luke_James - 17.08.2015, 16:43

Forum Jump:


Users browsing this thread: 1 Guest(s)