<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: How to setup the "success" page to display submitted form info?</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: How to setup the "success" page to display submitted form info?</description>
<language>en</language>
<pubDate>Sat, 20 Jun 2026 17:54:55 +0000</pubDate>

<item>
<title>neilo on "How to setup the "success" page to display submitted form info?"</title>
<link>https://www.machform.com/forums/topic/how-to-setup-the-success-page-to-display-submitted-form-info#post-7508</link>
<pubDate>Thu, 01 Oct 2009 00:44:20 +0000</pubDate>
<dc:creator>neilo</dc:creator>
<guid isPermaLink="false">7508@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi zdzisekg,&#60;/p&#62;
&#60;p&#62;With the help of this forum, I found that the easiest way to do this is by using session variables passed from one page to the next. It means I don't have to bother with recordsets and db connections on the second page, just add the variables where necessary.&#60;/p&#62;
&#60;p&#62;This is an example I set up to demonstrate: &#60;a href=&#34;http://www.buffalogals.co.uk/test1.php&#34; rel=&#34;nofollow&#34;&#62;http://www.buffalogals.co.uk/test1.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Redityo and Yuniar helped me out with this here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.appnitro.com/forums/topic/referencing-input-data-in-the-redirect-thankshtm-page?replies=6&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/referencing-input-data-in-the-redirect-thankshtm-page?replies=6&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The great thing is that once you've adjusted the post-functions.php file, it will work for all forms you make, or you could save it to use on other servers if you are using MachForm  on other domains.
&#60;/p&#62;</description>
</item>
<item>
<title>zdzisekg on "How to setup the "success" page to display submitted form info?"</title>
<link>https://www.machform.com/forums/topic/how-to-setup-the-success-page-to-display-submitted-form-info#post-7496</link>
<pubDate>Wed, 30 Sep 2009 02:00:09 +0000</pubDate>
<dc:creator>zdzisekg</dc:creator>
<guid isPermaLink="false">7496@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I think I found my problem. After submit, the data is moved from the review table to the actual table that holds the data.
&#60;/p&#62;</description>
</item>
<item>
<title>zdzisekg on "How to setup the "success" page to display submitted form info?"</title>
<link>https://www.machform.com/forums/topic/how-to-setup-the-success-page-to-display-submitted-form-info#post-7495</link>
<pubDate>Wed, 30 Sep 2009 01:28:39 +0000</pubDate>
<dc:creator>zdzisekg</dc:creator>
<guid isPermaLink="false">7495@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
I have a form that is setup to display &#34;Form Review&#34; page. Once the reviewd form is submitted, I need to display the submitted data again instead of the &#34;success&#34; page.&#60;br /&#62;
In confirm.php I uncommented &#60;code&#62;unset($_SESSION[&#38;#39;review_id&#38;#39;]);&#60;/code&#62; at the top of the page, and around line 60 a made some changes that look like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($_GET[&#38;#39;done&#38;#39;])){
			if(empty($_SESSION[&#38;#39;review_id&#38;#39;])){
				die(&#38;quot;Your session has been expired. Please &#38;lt;a href=&#38;#39;view.php?id={$form_id}&#38;#39;&#38;gt;click here&#38;lt;/a&#38;gt; to start again.&#38;quot;);
			}else{
				$record_id = $_SESSION[&#38;#39;review_id&#38;#39;];
			}
			$markup = display_form_review($form_id,$record_id);
		}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;For the time being, I'm just trying to redisplay the form, but this time I don't get any values. I get the &#34;Labels&#34; on the form, but not the data.&#60;/p&#62;
&#60;p&#62;Can anyone help?&#60;/p&#62;
&#60;p&#62;Thank you
&#60;/p&#62;</description>
</item>

</channel>
</rss>
