forked from root/threadr.lostcave.ddnss.de
test
parent
1a9d09589d
commit
bf93db3d54
|
@ -47,10 +47,10 @@ $id=$_GET['id'];
|
||||||
if($_GET['action']=='post') {
|
if($_GET['action']=='post') {
|
||||||
include("./post.php");
|
include("./post.php");
|
||||||
} elseif($_GET['action']=='submit') {
|
} elseif($_GET['action']=='submit') {
|
||||||
|
$user_id=$_SESSION[user_id];
|
||||||
|
echo "$user_id";
|
||||||
$title=$_POST['title'];
|
$title=$_POST['title'];
|
||||||
echo "$title";
|
|
||||||
$content=$_POST['content'];
|
$content=$_POST['content'];
|
||||||
echo "$content";
|
|
||||||
include("./submit.php");
|
include("./submit.php");
|
||||||
} elseif($_GET['action']=='edit') {
|
} elseif($_GET['action']=='edit') {
|
||||||
include("./edit.php");
|
include("./edit.php");
|
||||||
|
|
Loading…
Reference in New Issue