Results 1 to 3 of 3
Sep 7, 2012, 16:03 #1
How to pass value from the footer a popup form in the header
I've a little problem need to solve.
I've a log in form in the header.php. It activates when the user click on a link within a page.
However, I want to pass a variable e.g. $this_item from the footer to that form. Here's my code:
echo "<a href='#?this_item=" . $this_item . "' class='log_in_form'>Log In</a>";
Sep 7, 2012, 18:41 #2
- Join Date
- Apr 2010
- Melbourne, AU
- 17 Post(s)
- 1 Thread(s)
<form action="" method="post" onsubmit="return false;"> <input type="hidden" name="footer_value" id="footer_value" value="<?php echo $this_item; ?>" /> </form>
Sep 8, 2012, 12:43 #3
It's not working, or maybe I just don't know how to get it worked.