I have a problem with isset. What I want is some echos after getting, checking and initialising the values from isset. it doesn't work. I don't see any reason behind this. It only refreshes the page after submitting the form.
Below is the code
<?php
if  (isset($_post['contact_name'] )  &&  isset($_post['contact_email'])  &&  isset($_post['contact_text']))
{
 echo  $contact_name = $_post["contact_name"];
 echo  $contact_email = $_post['contact_email'];
  echo  $contact_text =   $_post['contact_text'];
   //!empty($_post['contact_name'])
       //echo 'no value submit';
  if(!empty($contact_name)  &&  !empty($contact_email) &&  !empty($contact_text))
  {
      echo 'ok';
  }
  else
  {
      echo 'all fildes required !!!!!!!!!!!!!';
}
}
?>
<html>
<form action="index.php" method="post">
     name : <br> <input type="text" name="contact_name" ><br><br>
     Email address : <br> <input type="text"  name= "contact_email "><br><br>
     Message :<br><textarea name="contact_text"  rows="6" cols="30" type="text" ></textarea><br><br>
     <input type="submit" value="send">
</form>  
</html>
 
     
     
     
    