How do I separate statements in a single MYSQL query?
Is it a semicolon?
I don’t think it matters but I am writing the statements to be invoked by PHP functions
Edit: the problem is that I didn’t seem to understand the UPDATE syntax, that you can execute multiple fields with one UPDATE statement
Using the mysqli_ functions (docs), you can pass multiple queries in the same string using
mysqli_multi_query(docs)Example from the docs: