Woodburn2006 Posted September 9, 2006 Share Posted September 9, 2006 i am trying to display info on a single page from multiple databases but the first sql query is fine as i have selected the first db to use. but i use the mysql_select_db() function to select the next DB but it still tries to connect to the first DB and ignores the fact that i have tried to select a new DB. is there any way i can do this? Quote Link to comment Share on other sites More sharing options...
maxic0 Posted September 9, 2006 Share Posted September 9, 2006 Put mysql_close() at the end of the first piece.Then connect again. Quote Link to comment Share on other sites More sharing options...
Woodburn2006 Posted September 9, 2006 Author Share Posted September 9, 2006 cool thanks, sorted now Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.