Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Problem with previous button when using a form PHP #43

Open
youch12 opened this issue Dec 28, 2015 · 0 comments
Open

Problem with previous button when using a form PHP #43

youch12 opened this issue Dec 28, 2015 · 0 comments

Comments

@youch12
Copy link

youch12 commented Dec 28, 2015

I know that this question has been asked quite many times, but for some reason I couldn't find a clear answer, one that works sufficiently. I'm currently working on a project using mainly php (a newbie here), one of features of the site is allowing the user to comment on some articles. The problem is, I'm using the post method in these forms, once the user clicks add comment for example, another input is shown, if he decides to fill it out and click submit, the data is then transmitted to a page where I insert the new content in the DB, and bring him back to the original page, so he can repeat the process if he feels like it. However if the user decides to click the previous button, an error occures telling the user that the page requested doesn't exist anymore. I'm really lost here guys, I've tried many solutions, like putting the data in session but it doesn't seem to be working. I appreciate all the help I can get.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant