Skip to content

PHP code snippet – How to mantain text in form after error ?

<input type="text" id="name" name="name" value="<?php echo isset($_POST["name"]) ? $_POST["name"] : ''; ?>">
See also  How to remove table border in CSS for last child if rowspan?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.