How to check if the result is 1?
#4

Never ever used mysql_fetch_field before.. though i'm sure this will work.
pawn Код:
new Lockedvehicle[10];
mysql_fetch_field("FieldName", LockedVehicle);
printf("%s",LockedVehicle);
vInfo[vehicleid][Locked] = strval(LockedVehicle);
printf("%d",vInfo[vehicleid][Locked);
EDIT: The prints is to debug btw.
Reply


Messages In This Thread
How to check if the result is 1? - by ajwar - 29.10.2010, 13:16
Re: How to check if the result is 1? - by Cameltoe - 29.10.2010, 13:19
Re: How to check if the result is 1? - by ajwar - 29.10.2010, 13:20
Re: How to check if the result is 1? - by Cameltoe - 29.10.2010, 13:25
Re: How to check if the result is 1? - by ajwar - 29.10.2010, 13:37

Forum Jump:


Users browsing this thread: 1 Guest(s)