Home › Forums › Quform PHP › Passing of entire array from process.php to a "Thank You" page
- This topic has 5 replies, 2 voices, and was last updated 10 years, 5 months ago by Ally.
- AuthorPosts
- April 14, 2014 at 2:49 am #9561hortondesignsParticipant
I need to pass the array of variables like notification.php file does for the thank you landing page for display and print (option) page. How would you approach this? Use the redirect and a passing array through URL?
$config[‘redirect’] = ‘http://www.example.com/thankyou.php?array=’ . urlencode( $_POST[‘$mailer]);
April 14, 2014 at 9:49 am #9570AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
April 14, 2014 at 9:24 pm #9585hortondesignsParticipantHow would you pass a multidimensional array with the label and variable to the redirect page? Then basically loop through “foreach” element like the notification.php file.
<?php echo Quform::escape($element->getLabel())?>
<?php echo $element->getValueHtml(); ?>The redirect http://www.example.com/thanks.php can handle redirects from other forms.
April 15, 2014 at 5:43 pm #9597AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- This reply was modified 10 years, 7 months ago by Ally.
June 9, 2014 at 2:20 am #11167hortondesignsParticipantAlly your last post worked great! Thanks!
How would you pass the <?php echo Quform::escape($mailer->Subject); ?> like used in the notification.php file to the autoreply.php and a thanks.php file.
If I need to open another topic, I can. I hope to catch onto php better. My thank-you.php file is attached.
June 9, 2014 at 3:21 pm #11211AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.