I am getting confused as I read various posts about the typical task I am trying to perform, no doubt countless others have done it before. So at this point in 2013 what is the best practice solution to achieve the following:
- I have an html page which asks the user for a number of values, x1, x2, .....xn.
- There may be 10 to 20 such inputs. As such I don't want them to be lost or to have to be re-inputted again for whatever reason.
- perform calculations based on user inputs then output the results (eg. y1, y2, y3..y5).
- As suggested by some of the posts here, I tried "echo" (for PHP), that works fine. However, it shows the results in a new page so the user input is no longer visible.
- I want the user to see both - their input and the resultant. That way they can print if they want to and see all info on one page.
- I prefer to use "basic" technologies, ie. technologies that most users can use, that they don't have to click OK on some warning, change some setting on their browser, accept some thing or other etc..
Thanks in advance!