Mysql problem. Cant save on quit
#4

Quote:
Originally Posted by ISmokezU
Посмотреть сообщение
What's your MYSQL Log Saying?

PHP код:
    mysql_format(mysqlquerysizeof(query)//vehPlate = '%e'? Try %s if this didn't turn out.
    
,"UPDATE Vehicles SET vehModel = %i, vehPlate = '%e' , vehMod_1 = %i, vehMod_2 = %i, vehMod_3 = %i, vehMod_4 = %i, vehMod_5 = %i, vehMod_6 = %i, vehGun1 = %i,  vehGun2 = %i,  vehGun3 = %i, vehAmmo1 = %i, vehAmmo2 = %i, vehAmmo3 = %i WHERE vehID = %d"
    
vInfo[vehicleid][vehModel], vInfo[vehicleid][vehPlate], vInfo[vehicleid][vehMod][0], vInfo[vehicleid][vehMod][1], vInfo[vehicleid][vehMod][2], vInfo[vehicleid][vehMod][3], vInfo[vehicleid][vehMod][4], vInfo[vehicleid][vehMod][5], \
      
vInfo[vehicleid][vehID],vInfo[vehicleid][vehGun1],vInfo[vehicleid][vehGun2],vInfo[vehicleid][vehGun3], vInfo[vehicleid][vehAmmo1],vInfo[vehicleid][vehAmmo2],vInfo[vehicleid][vehAmmo3]
    );
    
mysql_tquery(mysqlquery""""); 
yes thank you i guess that %e was wrong and i changed my code a little it work now
Reply


Messages In This Thread
Mysql problem. Cant save on quit - by grymtn - 01.08.2017, 00:25
Re: Mysql problem. Cant save on quit - by ISmokezU - 01.08.2017, 00:48
Re: Mysql problem. Cant save on quit - by LazzyBoy - 01.08.2017, 02:09
Re: Mysql problem. Cant save on quit - by grymtn - 01.08.2017, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)