query difference
#1

hey, everyone,

I have one little question. Is there a difference between querys?
t.y
1st query:
Код:
mysql_query("UPDATE `players` SET `Money` = 15, `Xp`= 25000");
2st query:
Код:
mysql_query("UPDATE `players` SET `Money` = 15");
mysql_query("UPDATE `players` SET `Xp` = 25000");
Reply
#2

Well, not really, but the first one is better to use seeing as it's only the one function. It is up to you though mate. Personally i'd use the first one.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)