coopster - 6:59 pm on Feb 20, 2013 (gmt 0)
Welcome to WebmasterWorld, mades.
the function you are using returns false on failure and that is why you are getting the second boolean message there. You are going to need to look a little closer at the connection attempt in your code, particularly the host/user/password being used. Also, you likely learned about mysql functions in school but you may consider using the new MySQL functions (mysqli) since in PHP 5.5 mysql functions will be deprecated.