I need to close the connection that WordPress have whit MySQL, execute some code and than open that conection again, is that possible?
What I need is something like this:
$wp->db_close(); // I need to knwo how to close it!! include('mycode.php'); $wp->db_open(); // I need to know hot to open it!!
I need this because my script need to connect to an external database and execute some queryes…
Some one could help me?
- The topic ‘How can I close DB connection and open it again?’ is closed to new replies.