Why do things outside of symfony and the databases.yml?
http://www.lampjunkie.com/2008/04/using-multiple-databases-in-symfony-with-propel/
On Tue, Sep 7, 2010 at 7:52 AM, DEEPAK BHATIA toreachdee...@gmail.comwrote:
Hi,
I tried accessing some other database than specified in databases.yml.
Hi,
I have four databases by the name
1. rtdb
2. crb
3. pist
The rtdb and pist has emp_table but the same is given employee_table in crb.
This link shows that if two tables names are same in two different databases
then the connection can be switched.
pist1 database - databases.yml
Thanks Gareth,
Please see if you can answer my question.
Regards
Deepak Bhatia
On Wed, Sep 8, 2010 at 5:28 PM, DEEPAK BHATIA toreachdee...@gmail.comwrote:
Hi,
I have four databases by the name
1. rtdb
2. crb
3. pist
The rtdb and pist has emp_table but the same is given employee_table
Hi,
I tried accessing some other database than specified in databases.yml. But
below is not working. Please help.
$con=mysql_connect(localhost,root,);
if(!$con)
{
echo Database Connection Not Estabilished\n;
exit(0);
}
$temp = mysql_select_db(rtdb);
if($temp