test
parent
1a9d09589d
commit
bf93db3d54
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue