<?phpclassMyDBextendsSQLite3{function__construct(){$this->open('comments.db');}}if(isset($_POST['user'],$_POST['comment'])){$user=$_POST['user'];$comment=$_POST['comment'];$db=newMyDB();$sql='INSERT INTO Comments VALUES(\''.$user.'\',\''.$comment.'\')';$ret=$db->exec($sql);$db->close();}echo'<!DOCTYPE HTML><html><head><title>Comments</title>'.'<meta charset="utf-8"></head><body><h1>Comments</h1>';$db=newMyDB();$sql='SELECT * FROM Comments';$ret=