<?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: Referencing input data in the redirect (thanks.htm) page</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Referencing input data in the redirect (thanks.htm) page</description>
<language>en</language>
<pubDate>Sat, 20 Jun 2026 17:50:52 +0000</pubDate>

<item>
<title>bto on "Referencing input data in the redirect (thanks.htm) page"</title>
<link>https://www.machform.com/forums/topic/referencing-input-data-in-the-redirect-thankshtm-page#post-9648</link>
<pubDate>Tue, 08 Jun 2010 03:49:55 +0000</pubDate>
<dc:creator>bto</dc:creator>
<guid isPermaLink="false">9648@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks for this- it worked perfect for a project I'm working on! :-D
&#60;/p&#62;</description>
</item>
<item>
<title>neilo on "Referencing input data in the redirect (thanks.htm) page"</title>
<link>https://www.machform.com/forums/topic/referencing-input-data-in-the-redirect-thankshtm-page#post-7423</link>
<pubDate>Fri, 25 Sep 2009 19:50:30 +0000</pubDate>
<dc:creator>neilo</dc:creator>
<guid isPermaLink="false">7423@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thank you so much, Yuniar and Redityo,&#60;/p&#62;
&#60;p&#62;It is working perfectly, - and I am so happy with it.&#60;/p&#62;
&#60;p&#62;Very best to you all,&#60;/p&#62;
&#60;p&#62;Neil H
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Referencing input data in the redirect (thanks.htm) page"</title>
<link>https://www.machform.com/forums/topic/referencing-input-data-in-the-redirect-thankshtm-page#post-7416</link>
<pubDate>Fri, 25 Sep 2009 13:37:52 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">7416@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You need to enable session on your acknowledgement page.&#60;br /&#62;
At the first line of the page, make sure to have this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php session_start(); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>neilo on "Referencing input data in the redirect (thanks.htm) page"</title>
<link>https://www.machform.com/forums/topic/referencing-input-data-in-the-redirect-thankshtm-page#post-7412</link>
<pubDate>Fri, 25 Sep 2009 07:28:04 +0000</pubDate>
<dc:creator>neilo</dc:creator>
<guid isPermaLink="false">7412@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hello Redityo,&#60;/p&#62;
&#60;p&#62;I followed the directions there, and in my post-functions.php file I have put the two lines where you suggested. The lines are lines 1181, 1182: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//if there is any error message or elements, send false as status
		if(empty($error_elements) &#38;#38;&#38;#38; empty($process_result[&#38;#39;custom_error&#38;#39;])){
			$process_result[&#38;#39;status&#38;#39;] = true;
			$_SESSION[&#38;#39;is_valid_user&#38;#39;] = true;
			$_SESSION[&#38;#39;form_data&#38;#39;] = $table_data;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And in my thanks.php file which the confirm.php directs to, I have included the lines:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php echo &#38;#39;Dear &#38;#39;. $_SESSION[&#38;#39;form_data&#38;#39;][&#38;#39;element_1&#38;#39;]; ?&#38;gt;
	  , Many thanks for your entry in to our poetry competition!&#38;lt;/p&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The session variables don't seem to be being carried forward, because the page prints &#34;Dear , Many thanks for your entry in to our poetry competition!&#34;&#60;/p&#62;
&#60;p&#62;Do you have some advice as to where I am going wrong?&#60;/p&#62;
&#60;p&#62;Thanks you&#60;/p&#62;
&#60;p&#62;Neil H
&#60;/p&#62;</description>
</item>
<item>
<title>neilo on "Referencing input data in the redirect (thanks.htm) page"</title>
<link>https://www.machform.com/forums/topic/referencing-input-data-in-the-redirect-thankshtm-page#post-7407</link>
<pubDate>Thu, 24 Sep 2009 19:04:11 +0000</pubDate>
<dc:creator>neilo</dc:creator>
<guid isPermaLink="false">7407@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Many thanks for that, redityo - that looks perfect.
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Referencing input data in the redirect (thanks.htm) page"</title>
<link>https://www.machform.com/forums/topic/referencing-input-data-in-the-redirect-thankshtm-page#post-7405</link>
<pubDate>Thu, 24 Sep 2009 12:36:34 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">7405@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Neil,&#60;/p&#62;
&#60;p&#62;I think you can use a SESSION variable to pull out the form data to your custom thank you page. You can look at to this post for details :&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.appnitro.com/forums/topic/how-to-limit-access-to-redirect-page-after-submission?replies=13#post-3170&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/how-to-limit-access-to-redirect-page-after-submission?replies=13#post-3170&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But you need to have PHP page (&#34;thanks.php&#34;) for that, not &#34;thanks.html&#34;
&#60;/p&#62;</description>
</item>
<item>
<title>neilo on "Referencing input data in the redirect (thanks.htm) page"</title>
<link>https://www.machform.com/forums/topic/referencing-input-data-in-the-redirect-thankshtm-page#post-7400</link>
<pubDate>Thu, 24 Sep 2009 04:29:44 +0000</pubDate>
<dc:creator>neilo</dc:creator>
<guid isPermaLink="false">7400@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I could do with some expert advice from someone with PHP knowledge and a patient disposition.&#60;/p&#62;
&#60;p&#62;The forms work brilliantly, and do everything they're supposed to do. But what I need to happen is that once the form has been reviewed and submitted, and has redirected to an acknowledgement page, that the acknowledgement page can identify the record (ID) that has just been submitted and be able to echo some of the data from it (Name, options etc.).&#60;/p&#62;
&#60;p&#62;On the redirect page I can specify the database connection and create a recodset for the table that holds the information, but I don't know how to associate the newly submitted record ID with this page - i.e. so that this page can reflect that customer's particular details.&#60;/p&#62;
&#60;p&#62;I have zero knowledge of PHP (although I have started working through a book) and know that this is beyond the scope of normal support issues, but would be grateful for the generosity of anyone with the skills.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;Neil H
&#60;/p&#62;</description>
</item>

</channel>
</rss>
