RWWells Posted August 27, 2013 Report Share Posted August 27, 2013 I am trying to figure out how to pass a variable to the suggest.php and have that used as my subject.I have changed the topmenu.php for template9 to look like this which I copied from the wiki.<li> <a href="<?php echo $cms['tngpath']; ?>suggest.php?page=$page\"><span class="l"></span><span class="t"><?php echo $text['contactus']; ?></span></a> </li>When I click on contact us from a page I get a subject $page. I was expecting it to be blank as I had not initialized $page.Questions: Is this the proper code to pass the variable $page to suggest.php if not how should it be coded?Where in the topmenu.php can I initialize the value $page in order for it to show up when the code is executed? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.