[PHP] DB connection problem

2004-03-19 Thread Khalid Judeh
hallo all, i have a problem connecting to mysql db, i use the following code to connect to the db: $DBConn = mysql_connect(localhost, myusername,mypassword) or die(Could not connect to database, . mysql_error()); mysql_select_db(db1, $DBConn); and i get the following error: Warning:

Re: [PHP] DB connection problem

2004-03-19 Thread John W. Holmes
From: Khalid Judeh [EMAIL PROTECTED] i have a problem connecting to mysql db, i use the following code to connect to the db: $DBConn = mysql_connect(localhost, myusername,mypassword) or die(Could not connect to database, . mysql_error()); mysql_select_db(db1, $DBConn); and i get the