gladiator83x Posted June 6, 2006 Share Posted June 6, 2006 Hi All,I was wondering if anyone could help me out with a problem that I have run into. Lets say there are only two things on a page (lets call this page testa.php). The two items are a text box and a submit button. When the person browsing inputs data into the text box and pushes submit, it goes to page (testb.php) and the data inputted in the text box is displayed on this page. I was able to do all of this, however, I want the data that is inputted in the text box to not just be submitted to the next page, but also saved on that page; so if anyone was to go back to testb.php, he/she would be able to see the data that was entered in that text box. How would the form look? I have been reading different things online, looking at code on frontpage, and looking through a book that I purchased, but I cannot find out how to submit & save. If anyone could point me in the right direction or help me start off the code then that would be awesome. Thanks. --Chris Quote Link to comment https://forums.phpfreaks.com/topic/11325-submit-and-save/ Share on other sites More sharing options...
ober Posted June 6, 2006 Share Posted June 6, 2006 Welcome to the phpfreaks!There are a few different ways to do this. The first and best (IMO) would be to use a database to store your information. The second option would be to use a flat file (text file). If you go to the phpfreaks site (not the forums), you'll find tutorials on how to do both. You can also do a search on the forums that will probably yield you with some good results. Quote Link to comment https://forums.phpfreaks.com/topic/11325-submit-and-save/#findComment-42399 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.