By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,062 Members | 1,358 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,062 IT Pros & Developers. It's quick & easy.

How do you send form data back to itself (wait, there's more!)

P: 1
But wait! there's more! Basically I have a two page set-up, an index.html page and the PHP file that processes the form data from the index.html page. Well here lies the dilemma: I have a text input box in the PHP file that is needed to help the user book an appointment on a static calendar on a selected time (via radio button). The idea is to have the user's inputted name displayed next to the selected time. But I haven't figured out a way to send it back to itself without losing the previous submitted form data. Thanks

- Matt
Apr 1 '12 #1
Share this Question
Share on Google+
2 Replies


Rabbit
Expert Mod 10K+
P: 12,366
Include what they submitted as hidden form fields.
Apr 1 '12 #2

P: 93
through javascript you can get data return using this function :: history.back(); or history.go(-1);
Apr 16 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.