kwdelre Posted October 19, 2010 Share Posted October 19, 2010 Hello, I am writing a very basic quiz program. I have three pages. The Quiz page. The Process page. And the Results Page. I have the Quiz page's form "action" to the Process page where questions are checked and a score is determined. Then I want those results displayed on the results page. So basically I want to use the quiz page, and when it is submitted it should go to the Results page while having used the Process page. Right now I have the Process page "included" on both the quiz and results page to use variables and stuff. And the form action is set to the Process page. What do I need to add to get it to do what I described above? Thanks! Link to comment https://forums.phpfreaks.com/topic/216223-code-question/ Share on other sites More sharing options...
litebearer Posted October 19, 2010 Share Posted October 19, 2010 helps if you show the code you have created thus far Link to comment https://forums.phpfreaks.com/topic/216223-code-question/#findComment-1123840 Share on other sites More sharing options...
Miss_Rebelx Posted October 19, 2010 Share Posted October 19, 2010 I'm not sure that you can do a post action to an included page. You could, however, include the results page in the process page (that being the only include). Therefore, you go to the quiz page, it directs you to the process page upon posting results, and it includes (or rather, it displays) the results page. Link to comment https://forums.phpfreaks.com/topic/216223-code-question/#findComment-1123842 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.