25.12.2012, 08:15
Hi all! I've got this code:
But when i try insert one more thing into a column it doesn't do that, it has some kind of limit or what? How can i avoid it?
For Example this
So it doesn't work
Код:
new string[128]; format(string, sizeof(string), "INSERT INTO `Vehicles` (ID,Carname,Numberplate,X_Chord,Color) VALUES ('%d','%s','%s','%f','%d')",carid, VehicleNames[carid-400], inputtext, X_Chord, color); mysql_query(string);
For Example this
Код:
new string[128]; format(string, sizeof(string), "INSERT INTO `Vehicles` (ID,Carname,Numberplate,X_Chord,Color,Y_Chord) VALUES ('%d','%s','%s','%f','%d','%f')",carid, VehicleNames[carid-400], inputtext, X_Chord, color,Y_Chord); mysql_query(string);