Drew2 Posted August 19, 2020 Report Share Posted August 19, 2020 Adding PHP Validation: Chapter 1 lesson 3 minutes: 2:30 -nutshell: If I understand Ben, he adds the php to the input tags in form.php so that when I enter my information in the form and hit submit, my information won't disappear. But, when I take all of the php out that Ben seems to use to keep my information from disappearing, I get the same result: my information stays there. Am I missing something? I have deleted temporarily all of the php echoes in the input tags in form.php (e.g. I deleted <?php echo $error['name'] ?> ). After I saved the page, I then refreshed the web page with the form. I entered incorrect login information in the form, and clicked submit. My incorrect login information was *still there. As such, I don't yet see the point of adding the php echoes. Quote Link to comment Share on other sites More sharing options...
administrator Posted August 26, 2020 Report Share Posted August 26, 2020 On 8/19/2020 at 1:16 AM, Drew2 said: My incorrect login information was *still there. As such, I don't yet see the point of adding the php echoes. That is a question of intelligent browser caching ... it can't always count on it. Quote Link to comment Share on other sites More sharing options...
Drew2 Posted September 26, 2020 Author Report Share Posted September 26, 2020 Gotcha. Thanks! -Andrew 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.