Is there a way to insert values into multiple databases using db prepare? I use following code to insert in one database:
$insert_stmt = $db->prepare("INSERT INTO database(name) VALUES(:name)");
I would like to insert a value into another database in the same rule, but this does not work, par example:
$insert_stmt = $db->prepare("INSERT INTO database(name) VALUES(:name") INSERT INTO example(street) VALUES (:street)");