diff --git a/threadr/board/index.php b/threadr/board/index.php index db3dd9e..d855f0d 100644 --- a/threadr/board/index.php +++ b/threadr/board/index.php @@ -47,10 +47,10 @@ $id=$_GET['id']; if($_GET['action']=='post') { include("./post.php"); } elseif($_GET['action']=='submit') { + $user_id=$_SESSION[user_id]; + echo "$user_id"; $title=$_POST['title']; - echo "$title"; $content=$_POST['content']; - echo "$content"; include("./submit.php"); } elseif($_GET['action']=='edit') { include("./edit.php");