29.09.2012, 07:54
One question, I'm not sure how this works but:
'WHERE CarID = '%d';" .. Is ";" needed there?
And..:
Again, I do not work with MySQL, but this is what I think is wrong.
pawn Код:
format(query, sizeof(query), "SELECT * FROM `vehicles` WHERE CarID = '%d';", Carid);
And..:
Код:
mysql_fetch_field(number, dest[], connectionHandle) number Index of the field. dest[] The string where fetched data will be stored in. connectionHandle The connection handle this will be processed on.