Page 1 of 1

2 database connections in one page...allowed??

Posted: Wed Feb 16, 2005 6:19 am
by pleigh
hi there,

just like to know if 2 database connections in one page is allowed. i designed a page that will use the same part of the page in every page....used the include() function...the first connection was the profile .inc and the users profile be displayed.then i included another .inc file to display the inserting part of the database, this is my other connection.when i hit the submit button, an error occurred saying:
Access denied for user 'ODBC'@'localhost' (using password: NO)
hope u can help me.thanks

Posted: Wed Feb 16, 2005 6:39 am
by n00b Saibot
are the connections made to same server or a diffrent one :?:

Posted: Wed Feb 16, 2005 6:55 am
by John Cartwright
Maybe re-think your database structures and only use 1 database.