wheaty Posted December 23, 2014 Share Posted December 23, 2014 Good morning Would someone be able to guide me with some coding tips? I'm trying to post some current page info into a form on the next page. Either pass the page url, the page title, or the H3 tags through the "Enquire" & "Book now" buttons from the below php file. The fields on the form will then be hidden from view but passed through the submit button. I need help passing the info in this code below: <!--<div class="fright">--> <p class="packagebuttons"> <a class="button print" href="#" onclick="window.print();">Print</a> <!-- <a class="button thickbox" href="#TB_inline?height=500&width=700&inlineId=modalEnquire_<?php echo $node->nid; ?>&modal=true">Enquire</a> <a class="button thickbox book" href="#TB_inline?height=500&width=700&inlineId=modalEnquire_<?php echo $node->nid; ?>_book&modal=true">Book</a> --> <a class="button" href="#goto_form">Enquire</a> <a class="button book" href="#goto_form">Book</a> </p> <?php ukgirl_modal_enquire($node,'package'); ?> <?php ukgirl_modal_enquire($node,'package','book'); ?> <!--</div>--> <div class="clear"></div> Many thanks for anyones help this close to Christmas! Link to comment Share on other sites More sharing options...
niche Posted December 23, 2014 Share Posted December 23, 2014 http://www.w3schools.com/tags/ref_httpmethods.asp Link to comment Share on other sites More sharing options...
wheaty Posted December 23, 2014 Author Share Posted December 23, 2014 Thanks niche for your reply So through a POST action? How do I add the post part into this code to capture the URL? Link to comment Share on other sites More sharing options...
niche Posted December 23, 2014 Share Posted December 23, 2014 http://www.plus2net.com/php_tutorial/variables2.php Then you'll need php to get access to your data Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now