You can optimize this code?
#6

I help with this is to save?

PHP код:
    new componentes[128];
    
format(componentessizeof(componentes), "%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d",
    
VehInfo[id][vComponentes][0], VehInfo[id][vComponentes][1], VehInfo[id][vComponentes][2], VehInfo[id][vComponentes][3], VehInfo[id][vComponentes][4],
    
VehInfo[id][vComponentes][5], VehInfo[id][vComponentes][6], VehInfo[id][vComponentes][7], VehInfo[id][vComponentes][8], VehInfo[id][vComponentes][9],
    
VehInfo[id][vComponentes][10], VehInfo[id][vComponentes][11], VehInfo[id][vComponentes][12], VehInfo[id][vComponentes][13]); 
PHP код:
    mysql_format(mysqlquerysizeof(query), "UPDATE vehiculos SET vComponentes = '%s' WHERE vID = '%d'"componentesVehInfo[id][vID]);
    
mysql_tquery(mysqlquery); 
Reply


Messages In This Thread
You can optimize this code? - by wharlos - 03.07.2016, 19:18
Re: You can optimize this code? - by Misiur - 03.07.2016, 19:21
Respuesta: Re: You can optimize this code? - by wharlos - 03.07.2016, 19:23
Re: You can optimize this code? - by Vince - 03.07.2016, 19:32
Re: You can optimize this code? - by Stinged - 03.07.2016, 19:34
Respuesta: You can optimize this code? - by wharlos - 03.07.2016, 19:49

Forum Jump:


Users browsing this thread: 2 Guest(s)