From bf93db3d54e38492b88ba4e5c85c6daaa19ddc8a Mon Sep 17 00:00:00 2001 From: Jakob Date: Sun, 8 Mar 2020 17:24:06 +0100 Subject: [PATCH] test --- threadr/board/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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");