자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
function action_post_edit_post() { include "application/models/model_post.php"; $subject = $_POST['subject']; $text = $_POST['text']; $id = $_POST['id']; $post = new Model_Post(); $data = $post->update_post($id, $subject, $text); header('Location: /admin', true, 303); }