Hey Guys,
Want to merge more than one query into one database call, but having some problems. Here is what I want to do:
/* Topic*/
$sql = "INSERT INTO phpbb_topics SET blah = 'blah' ";
/* Posts */
$sql .= "INSERT INTO phpbb_posts SET blah = 'blah' ";
/* Posts Text */
$sql .= "INSERT INTO phpbb_posts_text SET blah = 'blah' ";
But it gives me an error when I run it. I realise I need to put a ; after each query but that throws up a seperate error. So what I want to know is which is the best way of merging these queries into one line so I can run it all at once via one function call.
Cheers,
Chris