blob: 4d2cfdb912a81eafb6348c144a754e5969dc1c25 [file] [log] [blame]
avm9996370995382020-09-23 01:03:01 +02001<?php
2namespace DAFME\Covid;
3
4class Subjects {
5 public static function getAll() {
6 global $con;
7 $query = $con->prepare('SELECT * FROM subjects');
8
9 if (!$query->execute())
10 return false;
11
12 return $query->fetchAll(\PDO::FETCH_ASSOC);
13 }
14}