Created
August 19, 2017 15:43
-
-
Save satouriko/4f9b7d0e7c13b0a5e476c74e8cee7239 to your computer and use it in GitHub Desktop.
php_with_template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$error = "Error!!!"; | |
include("template.php"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include("template.php"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(isset($error) && $error) | |
echo $error; | |
?> | |
<form action="handle.php" method="post"> | |
<input type="submit" value="submit"> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment