Compare commits

..

1 Commits

Author SHA1 Message Date
c8fac365f1
Add reports and appointments to the patients list 2020-06-17 12:08:52 +02:00

View File

@ -130,6 +130,7 @@ function listPatients($pdo) {
return $data;
}
INSERT INTO cita (fecha, hora, medico, paciente) VALUES ('2020-06-02', '15:43', "nabil",3);
function fetchPatientData($pdo, string $id) {
$query = "SELECT * FROM paciente WHERE id=?";