session_start(); if($_POST['action']=="post"){ $_SESSION['name'] = htmlspecialchars($_POST['name']); if($_SESSION['name']==""){$err = "false";} $_SESSION['sex'] = htmlspecialchars($_POST['sex']); $_SESSION['mail'] = htmlspecialchars($_POST['mail']);if($_SESSION['mail']==""){$err = "false";} $_SESSION['message'] = htmlspecialchars($_POST['message']); if($err == "false"){$errmessage = '