if isset not set - php
    if(isset($_POST['text1']) && isset($_POST['text2'])) {
    
    echo "xxxxxx";
    echo "yyyyyyyyyy";
    
    
    } else {
    ?>
    <form>
    
    </form>
    
    
    <?php
    
    }
    
    
    ?>

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


if isset not set - php
===

    if(isset($_POST['text1']) && isset($_POST['text2'])) {
    
    echo "xxxxxx";
    echo "yyyyyyyyyy";
    
    
    } else {
    ?>
    <form>
    
    </form>
    
    
    <?php
    
    }
    
    
    ?>

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

