if isset not set - php
<pre><code>if(isset($_POST['text1']) &amp;&amp; isset($_POST['text2'])) {

echo "xxxxxx";
echo "yyyyyyyyyy";


} else {
?&gt;
&lt;form&gt;

&lt;/form&gt;


&lt;?php

}


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

<p>When isset is not set I want the form shown and when submitted form not shown, using PHP.  This code when ! isset is activated, form is not shown, is it coding or syntax error</p>
