jackmalanweb 0 Posted January 21, 2019 Report Share Posted January 21, 2019 Hi,Larry. I have a problem. When I use post.php, the information I enter is not displayed on the webpage, but it does exist in the database. Why doesn't the webpage display information? What is the reason? I don't understand. Thank you for your help. Quote Link to post Share on other sites
HartleySan 826 Posted January 21, 2019 Report Share Posted January 21, 2019 Jack, I'm not Larry, but I may be able to help. To help though, a little more context may be helpful. When you post the form data, is it posting to the same script you render the web page from or is it posting to a completely separate script? That will greatly affect how you display the posted data. Thanks. Quote Link to post Share on other sites
jackmalanweb 0 Posted January 25, 2019 Author Report Share Posted January 25, 2019 On 1/21/2019 at 8:13 PM, HartleySan said: Jack, I'm not Larry, but I may be able to help. To help though, a little more context may be helpful. When you post the form data, is it posting to the same script you render the web page from or is it posting to a completely separate script? That will greatly affect how you display the posted data. Thanks. Hi,HartleySan,thank you for you help, but please look,if I am doing this right?For example all links <a href="login.php?lid"> <a hrf="forum.php?lid> <a href="post.php?lid> method="get" then <form action="login.php?lid"> <form action="post.php?lid"> method="post" right or error? thanks Quote Link to post Share on other sites
Larry 428 Posted January 25, 2019 Report Share Posted January 25, 2019 Hey Jack. Right now you're literally passing the string "lid" around, which won't do anything. You should double-check how the book does it. (Separately, there's no method for A tags but that's not causing your problem.) Quote Link to post Share on other sites
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.