prepare('SELECT * FROM category'); $stmt->execute(); $cats = $stmt->fetchAll(); return $cats; } ?>