run multiple sql in cl 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 :(";
}
$query = "SQL Code";
$query .= "SQL Code";
//execute query
if($result = mysqli_multi_query($conn, $query))
{
echo "DONE!";
}else{
echo "Something went wrong :(";
}