Ver original<input type="text" value="<?php echo (isset($_POST['foo']) ? $_POST['foo'] : ''); ?> name="foo" />