function showedit_action($id) { $post_Model = new Post_Model(); //$post_Model->edit_post($id); $post = $post_Model->get_post_by_id($id); require "view/template/post/edit.php"; }