If statement is not checking each value is selected
<p>This if statement is not working. I am trying to make it so that all the things must contain a value for the first statement to be shown, but it works when only one value is selected. </p>

<pre><code>   &lt;?php

   if ((isset($_POST["FirstName"]))&amp;&amp;(isset($_POST['SecondName']))
        &amp;&amp;(isset($_POST['email']))&amp;&amp;(isset($_POST["submit"]))) {

   echo "You've given all your details";
   }        
   else {
   echo "Please enter all your details";
   }

   ?&gt;
</code></pre>
