Re: [symfony-users] Using mysql php functions in symfony

2010-09-08 Thread Gareth McCumskey
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.

Re: [symfony-users] Using mysql php functions in symfony

2010-09-08 Thread DEEPAK BHATIA
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

Re: [symfony-users] Using mysql php functions in symfony

2010-09-08 Thread DEEPAK BHATIA
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

[symfony-users] Using mysql php functions in symfony

2010-09-06 Thread DEEPAK BHATIA
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