you know how you can do this:
mysql_select_db('mydb',$cnx);
- How can I display the current database?
- How would I find out if there is NO current database selected?
- If I want to check if a database is selected before I select a database, is it even worth while to go through the process? I'm thinking no.
In any case, i really DO need an answer to #1 and couldn't find it in php docs.
Thanks,
Sam