Logged In User php code? Not working
Posted: February 14th, 2011, 8:07 am
Hi,
In the php files and posts/pages i am using this: -
<a href="<?php echo S2MEMBER_LOGIN_WELCOME_PAGE_URL; ?>">My Account</a>
However i want to use this in the sidebar but it keeps going else where to random pages?
If i take a copy of the link address it looks like: -
www. zerogravitysafety.co.uk/%3C?php%20echo%20S2MEMBER_LOGIN_WELCOME_PAGE_URL;%20?%3E
Dont know why it is going to this link above. ^
Is there another way of writing this so it will work in the sidebar? Cheers.
In the php files and posts/pages i am using this: -
<a href="<?php echo S2MEMBER_LOGIN_WELCOME_PAGE_URL; ?>">My Account</a>
However i want to use this in the sidebar but it keeps going else where to random pages?
If i take a copy of the link address it looks like: -
www. zerogravitysafety.co.uk/%3C?php%20echo%20S2MEMBER_LOGIN_WELCOME_PAGE_URL;%20?%3E
Dont know why it is going to this link above. ^
Is there another way of writing this so it will work in the sidebar? Cheers.