Query problem.
#3

pawn Код:
mysql_debug(1);
format(query, sizeof(query), "INSERT INTO `ownedcars` (`Model`, `Color1`, `Color2`, `Price`, `Owner`, `PosX`, `PosY`, `PosZ`, `PosA`, `Plate`, `bPrice`) VALUES ('%i', -1, -1, 0, '%s', '%f', '%f', '%f', '%f', '%s', '%d')", cModel, pname, X, Y, Z, A, pname, cPrice);
mysql_query(query);
mysql_debug(0);
Put this, then goto the mysql_log (in your server's folder) and post here what has been logged
Reply


Messages In This Thread
Query problem. - by Rokzlive - 10.04.2011, 20:08
Re: Query problem. - by iJumbo - 10.04.2011, 20:18
Re: Query problem. - by Alby Fire - 10.04.2011, 20:34
Re: Query problem. - by Rokzlive - 10.04.2011, 20:47
Re: Query problem. - by Rokzlive - 10.04.2011, 21:45
Re: Query problem. - by Vince - 10.04.2011, 22:09
Re: Query problem. - by Rokzlive - 10.04.2011, 22:16

Forum Jump:


Users browsing this thread: 1 Guest(s)