Here is the code from my main page:
Code: Select all
<!-- START NAVIGATION -->
<? print $this_first_name.'<br>'; ?>
<script src="<? echo $baseurl; ?>/js/milonic_src.js" type=text/javascript></script>
<script type="text/javascript">
<!--
if(ns4)_d.write("<scr"+"ipt src=<? echo $baseurl; ?>/js/mmenuns4.js type=text/javascript><\/scr"+"ipt>");
else _d.write("<scr"+"ipt src=<? echo $baseurl; ?>/js/mmenudom.js type=text/javascript><\/scr"+"ipt>");
-->
</script>
<script src="<? echo $baseurl; ?>/include/menu.data.php" type=text/javascript></script>
<!-- END NAVIGATION -->
Code: Select all
aI("text=Home;url=http://www.newwaveswimteam.org/index.php?name=<?php echo $this_first_name; ?>;");
http://www.newwaveswimteam.org/index.php?name=
The php variable is not appended to the URL.
If you want to see this in action, I have created a test user with the first name Test and last name User. You can log in at http://www.swimteammanager-dev.com with username testuser and password testuser. You will see the menu with the name Test just above the menu. This is from the print statement in the first codesnippet.Mouseover and then click on Home. You'll see that the frst name is not appended to the url even though it does exist.
Any help would be greatly appreciated.
Alan Pollenz