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?
http://docs.php.net/mysql_query says:
But you might be interested in mysqli::multi_query: