Use correct ADODB_FETCH_BOTH constant and remove spurious trailing x; to remove php warnings doing database backup.