Re: [PHP] How to connect to DB

2003-08-17 Thread Miles Thompson
Take out the @ so you can see what error is returned. Echo your defines to confirm that you are getting what you expect. Double check that you have the browser set to refresh on every call to a page. Clear your cache. Use the header() function to add code at the top of the page to force a

[PHP] How to connect to DB

2003-08-16 Thread murugesan
Hello all, I have some existing php pages already. Now I want to change the DB to point to another DB. I have changed the include_path in php.ini file to point to /home/config Also I changed the constant db_name defined in a file in /home/config/con.php to point to new DB. [snip]