Hi forum
I'm totally new to php and mySQL so please excuse my ignorance. I've been trying to research this but because I'm not totally sure what I'm searching for I haven't yet found a solution.
Essentially I have a form that posts data (name, number, recommended friend, recommended email). This data is then inserted into a table and a "Thank you for your recommendation" message is echoed. So far so good.
But currently the message is displayed on the process page. What I would like is to display the thank you message in the original page, within the original form #div and perhaps display the data that was submitted as confirmation.
I'd appreciate any guidance on how to go about this.
Thanks in advance.
I'm totally new to php and mySQL so please excuse my ignorance. I've been trying to research this but because I'm not totally sure what I'm searching for I haven't yet found a solution.
Essentially I have a form that posts data (name, number, recommended friend, recommended email). This data is then inserted into a table and a "Thank you for your recommendation" message is echoed. So far so good.
But currently the message is displayed on the process page. What I would like is to display the thank you message in the original page, within the original form #div and perhaps display the data that was submitted as confirmation.
I'd appreciate any guidance on how to go about this.
Thanks in advance.
Comment