Skip to content

Instantly share code, notes, and snippets.

@smamran
Last active November 18, 2015 06:03
Show Gist options
  • Select an option

  • Save smamran/e63ddeef6c7b74275be7 to your computer and use it in GitHub Desktop.

Select an option

Save smamran/e63ddeef6c7b74275be7 to your computer and use it in GitHub Desktop.
PHP Codes
<form method="POST" action="">
<p>Name: </p>
<input type="text" name="name" value="<?php if (isset($_POST['name'])) {
echo htmlentities($_POST['name']);
} ?>"/> <br/>
<input type="submit">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment