Skip to content

Instantly share code, notes, and snippets.

@satouriko
Created August 19, 2017 15:43
Show Gist options
  • Save satouriko/4f9b7d0e7c13b0a5e476c74e8cee7239 to your computer and use it in GitHub Desktop.
Save satouriko/4f9b7d0e7c13b0a5e476c74e8cee7239 to your computer and use it in GitHub Desktop.
php_with_template
<?php
$error = "Error!!!";
include("template.php");
<?php
include("template.php");
<?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