Re: [PHP] Database Class Help

2005-12-01 Thread Unknown Unknown
Echo should be echo and also are you sure that you have those tables and databases?? make some DB's called table1 and table 2 and in that make tables db1 and db2 that might work... On 12/1/05, Ahmed Saad <[EMAIL PROTECTED]> wrote: > > On 12/1/05, Albert <[EMAIL PROTECTED]> wrote: > > The downside

RE: [PHP] Database Class Help

2005-12-01 Thread Ahmed Saad
On 12/1/05, Albert <[EMAIL PROTECTED]> wrote: > The downside of this is that you do not have persistent connections which > last beyond the end of the script. Maybe it's not a real downside :) http://wordpress.org/support/topic/42389 and http://www.mysql.com/news-and-events/newsletter/2002-11/a000

RE: [PHP] Database Class Help

2005-11-30 Thread Albert
Ian Barnes wrote: > We have a database class that we want to use to connect to multiple > databases at the same time using different variables. > function db($db_host, $db_user, $db_pass, $db_name) { >$this->dbh = @mysql_pconnect($db_host, $db_user, $db_pass); >$this->select_db($db_name)