input line too long... MySQL ;/
#1

Hi.
I have problem.
I make vehicle mod save (17 tabels).

Updating the tables looks like:
PHP код:
stock ZapiszTuning(VehicleId)
{
    
format(Querysizeof(Query), "UPDATE `Pojazdy` SET `Tuning1` = '%d', `Tuning2` = '%d', `Tuning3` = '%d', `Tuning4` = '%d', `Tuning5` = '%d', `Tuning6` = '%d', `Tuning7` = '%d', \
        `Tuning8` = '%d', `Tuning9` = '%d', `Tuning10` = '%d' , `Tuning11` = '%d', `Tuning12` = '%d', `Tuning13` = '%d', `Tuning14` = '%d', `Tuning15` = '%d', `Tuning16` = '%d', \
        `Tuning17` = '%d' WHERE `IdAuta` = '%d'"
Pojazd[VehicleId][Tuning1], Pojazd[VehicleId][Tuning2], Pojazd[VehicleId][Tuning3], Pojazd[VehicleId][Tuning4], \
        
Pojazd[VehicleId][Tuning5], Pojazd[VehicleId][Tuning6],    Pojazd[VehicleId][Tuning7],    Pojazd[VehicleId][Tuning8], Pojazd[VehicleId][Tuning9], Pojazd[VehicleId][Tuning10], \
        
Pojazd[VehicleId][Tuning11], Pojazd[VehicleId][Tuning12], Pojazd[VehicleId][Tuning13], Pojazd[VehicleId][Tuning14], Pojazd[VehicleId][Tuning15], \
        
Pojazd[VehicleId][Tuning14], Pojazd[VehicleId][Tuning17], Pojazd[VehicleId][idAuta]
    );
    
mysql_query(Query);

And i get this error:
RSA.pwn(3299) : error 075: input line too long (after substitutions)

Line 3299 is:
PHP код:
`Tuning17` = '%d' WHERE `IdAuta` = '%d'", Pojazd[VehicleId][Tuning1], Pojazd[VehicleId][Tuning2], Pojazd[VehicleId][Tuning3], Pojazd[VehicleId][Tuning4], \ 
Reply


Messages In This Thread
input line too long... MySQL ;/ - by Crazzel - 25.07.2012, 12:58
Re: input line too long... MySQL ;/ - by doreto - 25.07.2012, 13:03
Re: input line too long... MySQL ;/ - by Crazzel - 25.07.2012, 13:07
Re: input line too long... MySQL ;/ - by doreto - 25.07.2012, 13:17
Re: input line too long... MySQL ;/ - by Crazzel - 25.07.2012, 13:33
Re: input line too long... MySQL ;/ - by doreto - 25.07.2012, 13:36

Forum Jump:


Users browsing this thread: 2 Guest(s)