result.php now works with db pdo