You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$sql = "SELECT users.id, (employee.name || ' ' || employee.lastname) AS name FROM users LEFT JOIN employee ON employee.id=users.employee WHERE role=6 AND employee.name IS NOT NULL";
$data = $db->doSql($sql);
do {
$doctors[] = array(
'id' => $data['id'],
'name' => $data['name']
);
} while ($data = pg_fetch_assoc($db->actualResults));