![]() Topic awaiting preservation: Multible Database Access in PHP (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
![]() $dbh=mysql_connect ("localhost", "root", "triadpass") or die ('I cannot connect to the database because: ' . mysql_error()); |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() you'll either need to create two different connections to your database, which will result in two hlinks that you'll have to pass to the query every time, or select your database right before your query, every time you need another database. |
Nervous Wreck (II) Inmate From: |
![]() thnx dude!! it becomes the solution :-) |