Reply to Re: Using PHP to Connect to a Remote MySQL Server
Posted by afrinspray on 02/23/06 23:41
Ok, I'm sorry... everything works fine. I made a simple mistake (I am
using this in an object, and I had $this->$mysql_host instead of
$this->mysql_host). I'm guessing if the host is blank, mysql_connect
tries the localhost?