Is there any way I could shorten this code
The format is not complete. I have around 120 datas to be stored in mysql. Is it possible for me to make a shorter version of this?
PHP Code:
mysql_format(mysql, query, sizeof(query), "UPDATE users SET level=%d, money=%d admin=%d lsd=%d cocaine=%d WHERE nick='%s'", score, money, pname, admin, lsd, cocaine);