Created
August 17, 2016 08:07
-
-
Save dreamingbinary/04a8ecf39c0b691ea015d4006892ea5a to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<?php | |
if(!isset($_POST['test_field'])) { | |
print $_POST['test_field']; | |
} | |
?> | |
<form method="POST" action="<?PHP print $_SERVER['PHP_SELF']; ?>"> | |
<input type="text" name="test_field" value="test"/> | |
<input type="submit" value="Submit" /> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Nathanwenger.