PHP - Hiding a Form after a Submit

<?php
include ('database_connection.php');
$DisplayForm=True;
if (isset($_POST['submit'])) {
$DisplayForm=False;
}
<?php
 if ($DisplayForm)
?>
<form>
<input type="text" name="name">
<input type="submit" name="submit">
</form>
<?php
}
?>


https://www.youtube.com/watch?v=v4p8Pu0MDBY


Comments

Popular posts from this blog

Script For Login, Logout and View Using PHP, MySQL and Bootstrap

Hyperledger Development with in 10 days — Day 6

Insert CheckBox and Radio button Data in MySQL Database Using PHP