FROM backups
INNER JOIN shares ON backups.shareID=shares.ID
INNER JOIN hosts ON backups.hostID = hosts.ID
WHERE hosts.name = ? and backups.num = ?
});
$sth->execute($host, $num);
FROM backups
INNER JOIN shares ON backups.shareID=shares.ID
INNER JOIN hosts ON backups.hostID = hosts.ID
WHERE hosts.name = ? and backups.num = ?
});
$sth->execute($host, $num);