⇧
vadnica-logo
My Services About the Project Telegram O meni O meni

mysqli_multi_query()

The mysqli_multi_query() function executes one or more queries on the database. The commands must be in a single string and separated by semicolons (;).

EXAMPLE
RESULT
The result will be displayed here...

Practical use: This function is extremely efficient when you want to retrieve data from several different tables in a single step or execute multiple operations at once (e.g., an INSERT followed by a SELECT). Below, take a look at how we process a triple result set: