public static function postComment(PhotoComment $comment)
 {
     $db = Database::getInstance();
     $query = $db->prepare('INSERT INTO photocomments (photoid,userid,content) VALUES (?, ?, ?)');
     $query->execute([$comment->getPhotoid(), $comment->getUserid(), $comment->getContent()]);
 }