PHP memvalidasi nilai postingan postingan

if(isset($_POST['user']) && !empty($_POST['user'])) {
    $user = $_POST['user'];
}
Angry Armadillo