setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch(PDOException $e) { die("Database connection failed: " . $e->getMessage()); } // Retrieve all therapists from the therapists_info table $stmt = $pdo->query("SELECT id, name, specialty, email, profile_picture, language, region, status FROM therapists_info ORDER BY name ASC"); $therapists = $stmt->fetchAll(PDO::FETCH_ASSOC); ?>
No therapists found.