I'm trying to do something like this:
mysql_query("
UPDATE name SET money = money + 1;
UPDATE surname SET money = money + 1;
");
but it doesn't work.
It's just example, but my question is: How can I put two or even more queries in one mysql_query
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…