Getting vehicle ID from a mysql query
#3

Alright for the
pawn Код:
format(query, sizeof(query), "SELECT * FROM Vehicles WHERE Plate = \'%s\'", plate);
Whats the
pawn Код:
\'%s\'
I've only done '%s' before, whats the difference?

Also, just to ensure im not stupid, I could then go about by doing something like

pawn Код:
Vehicles[model][Ownername]
Or would that not work?
Reply


Messages In This Thread
Getting vehicle ID from a mysql query - by Abreezy - 12.10.2012, 04:32
Re: Getting vehicle ID from a mysql query - by ReneG - 12.10.2012, 04:48
Re: Getting vehicle ID from a mysql query - by Abreezy - 12.10.2012, 04:52
Re: Getting vehicle ID from a mysql query - by ReneG - 12.10.2012, 05:10
Re: Getting vehicle ID from a mysql query - by Abreezy - 12.10.2012, 05:33

Forum Jump:


Users browsing this thread: 1 Guest(s)