function display() { include_once "../../data-access/mysql-db.php"; $obj = new DataAccessLayer(); $this->assign("replies", $obj->selectColumnWhere("tblreply", "postID", $_GET["postid"])); $this->assign("postresult", $obj->selectById("tblpost", "postID", $_GET["postid"])); }
function display() { include_once "../data-access/mysql-db.php"; $obj = new DataAccessLayer(); $this->assign("topic", $obj->selectById("tbltopic", "topicID", $_GET["topicid"])); $this->assign("posts", $obj->selectColumnWhere("tblpost", "postStatus", 1)); }
function edit() { include_once "../../data-access/mysql-db.php"; $obj = new DataAccessLayer(); $this->assign("clientinfo", $obj->selectById("tblclientuser", "userID", $_GET["id"])); $this->assign("type", $obj->select("tblusertype")); }
function edit() { include_once "../../data-access/mysql-db.php"; $obj = new DataAccessLayer(); $this->assign("forumcategory", $obj->selectById("tblforumcategory", "forumCatID", $_GET["id"])); }
function edit() { include_once "../../data-access/mysql-db.php"; $obj = new DataAccessLayer(); $this->assign("jobs", $obj->selectById("tbljob", "jobID", $_GET["id"])); }