PDO::ERRMODE_EXCEPTION )); }catch (Exception $e){ die("Error : ".$e->getMessage()); } $req = $db->prepare('SELECT * FROM `categories`'); $req->execute(); $rows = $req->fetchAll(PDO::FETCH_ASSOC); $Parsedown = new Parsedown(); ?>
Title | Description |
---|---|
=$row['cat_name']?> | =$Parsedown->text($row['cat_description'])?> |