<?php
require_once 'vendor/connect.php';
$textuser = $_POST['textuser'];
$_SESSION['user']['id'] = $user_id;
mysqli_query($connect, "INSERT INTO `wall_post` (`id`, `text_decor`, `user_id`) VALUES (NULL, '$textuser', '$user_id')");
header('Location: ../feed.php');
?>
<?php
require_once 'vendor/connect.php';
$textuser = $_POST['textuser'];
$_SESSION['user']['id'] = $user_id;
mysqli_query($connect, "INSERT INTO `wall_post` (`id`, `text_decor`, `user_id`) VALUES (NULL, '$textuser', '$user_id')");
header('Location: ../feed.php');
?>