
Gerry Danen - 2016-04-04 19:58:00 -
In reply to message 3 from wayne b
Add this to the class:
public function setCredentials($hostname, $username,$password,$database)
{
$this->hostname = $hostname;
$this->username = $username;
$this->password = $password;
$this->database = $database;
}
Then, after this line,
$B = new danenMysqlBackup();
Add:
$B->setCredentials("yourhost", "host", "pw", "db");