John Cornett wrote:
What error message are you receiving (if any)? Take the @ off the connect string and see if it gives you an error then.
Also, why the semi-colons after the close brackets? 🙂
John Cornett
Well I am getting no error messages I am just not getting connected ....if I replace the connnectDB() with just:
$user="";
$host="";
$pass="";
$db_name="";
$connect_db = @mysql_connect($host,$user,$pass);
it works...as for the ; at the end of closing brackets....it's just a bad habit