Issue with SQL
#1

pawn Код:
public LoadCar()
{
    new file[26];
    for(new idx = 1; idx < sizeof(CarInfo) ; idx++)
    {
        format(file,sizeof(file),"SELECT `ownedcars` WHERE `id` = '%d'", idx);
        mysql_query(file);
        if(mysql_query(file))
        {
            CarInfo[idx][cModel] = mysql_query(file,"Model");
Error is on: CarInfo[idx][cModel] = mysql_query(file,"Model");

Can you tell me, what did I do wrong, looks ok to me?

error 035: argument type mismatch (argument 2)
Reply


Messages In This Thread
Issue with SQL - by UnknownGamer - 08.05.2013, 01:58
Re: Issue with SQL - by Scenario - 08.05.2013, 02:30
Re: Issue with SQL - by MP2 - 08.05.2013, 02:46

Forum Jump:


Users browsing this thread: 1 Guest(s)