13.02.2019, 10:02
You're doing it wrong!
Do this for the rest of your queries in that command! Also read: https://www.tutorialspoint.com/mysql...sert-query.htm
pawn Код:
format(query,sizeof(query),"INSERT INTO `vehicles` (vehicleDBID, vehicleName, vehicleOwner, vehiclePlate) VALUES(%d,'%e','%e','%e')",
VehicleData[i][vehicleDBID], VehicleData[i][vehicleName], VehicleData[i][vehicleOwner], VehicleData[i][vehiclePlate]);
mysql_query(mysql, query);