Is there a smart way to run multiple MySQL queries separated by a semicolon (;) in a string via PHP, perhaps with a PHP-function - and how can such a PHP function be coded? The queries MUST be separated with a colon in a string, and there should be no manual edit of that as accepted in other questions since the solution is supposed to handle this format (that's the point).
$multi_query = "INSERT INTO `stuff_5_firm` (firm_id, firmname) VALUES (0, 'Hey LTD');
INSERT INTO `stuff_6_invoice` (invoice_id, firm_id, amount) VALUES (0, 0, 500);
INSERT INTO `stuff_7_order` (order_id, firm_id, when) VALUES (0, 0, '2018-05-05'); ";