Pages

php keep form values after submit

<input id="user_name" type="text" pattern="[a-zA-Z0-9]{2,64}" name="user_name" required class="form-control" value="<?php if(isset($_POST['user_name'])) { echo htmlentities ($_POST['user_name']); }?>" />

No comments:

Post a Comment

Search This Blog