how to run multiple sql queries at once code example
Example: run multiple sql commands at once
$query = "SQL Code";
$query .= "SQL Code";
//execute query
if($result = mysqli_multi_query($conn, $query))
{
echo "DONE!";
}else{
echo "Something went wrong :(";
}