PDA

View Full Version : Retrieve data from different database


petteyg359
01-27-2008, 11:07 PM
I attempted the directions on https://vborg.vbsupport.ru/showthread.php?t=75207&highlight=select_db, and put $DB_site->select_db(dysplace_eveit); into my custom php file. I get the error Fatal error: Call to a member function select_db() on a non-object in /home/dysplace/public_html/eve-ocf/eveit.php on line 50 What might cause the error? The page works pefectly when I remove the select_db line (except of course that there's no way then to retrieve the data other than using regular MySQL PHP code).

MoT3rror
01-28-2008, 03:56 AM
Try the function like this
$db->select_db('database_name');