X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;ds=inline;f=model%2Fnote.php;h=d5ab563d6205d0f2d4e0ef59feda3595382cac70;hb=1ac68c035e2a264ab00baab323fca3b2772b6cbe;hp=01338be29f03aec67d2537f68b94452abe5d2985;hpb=4db3a80e869ec8b8c3e0c3f8401c8df12ff5c553;p=dylansserver.git diff --git a/model/note.php b/model/note.php index 01338be..d5ab563 100644 --- a/model/note.php +++ b/model/note.php @@ -12,6 +12,7 @@ class note extends model { public $day_posted; public $text; public $number_of_comments; + public $comments; public function __construct() { parent::__construct(); @@ -97,22 +98,19 @@ class note extends model { } public function display_comments() { - echo "
" . htmlspecialchars($author) . "
"; - echo "" . htmlspecialchars($author) . "
"; + $i++; } - echo "