Hi Folks,
I'm writing a small script which will be "include()"ed into a large application. The script needs to change databases on an established connection to a MySQL server, which I'll accomplish using mysql_select_db($db). I need to know:
1) Does mysql_select_db() change the selected db for the page which includes it? If it does:
2) How do I determine which db was currently selected before my script was included. I'll need to know this so I can restore the selection.
Appreciate your time.