ketting00 — 2012-09-07T20:03:12-04:00 — #1
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>";
How do get it work? (In this case the page does not reload)
chris_upjohn — 2012-09-07T22:41:02-04:00 — #2
<form action="" method="post" onsubmit="return false;">
<input type="hidden" name="footer_value" id="footer_value" value="<?php echo $this_item; ?>" />
ketting00 — 2012-09-08T16:43:02-04:00 — #3
It's not working, or maybe I just don't know how to get it worked.