0
jaydeep posted
how to run multiple query of MySQL in PHP ?
i want to run more than one MySQL query at once in PHP
example
$query="CREATE TABLE IF NOT EXISTS produce (id INTEGER PRIMARY KEY NOT NULL, name TEXT, description TEXT, image_url TEXT);INSERT INTO `15`.`produce` (`id` ,`name` ,`description` ,`image_url`)VALUES ('1', 'test', 'test', NULL)";
so is there way to execute more than one MySQL query in php ?