How to write URLs in PHP?
-
I’m using loginanywhere at my site http://www.doublepeace.se … I’m looking to add a link to the users forum profile next to the others in the top right hand corner and I just need to know how to type it out. I think this is it the template file:
<a href=\"<?php profile_tab_link( $user_id, 'edit' ); ?>\">And put that correctly inside of this:
echo "<div class='greeting'>\nHej, <strong>"; echo $user_identity; echo "</strong>! <a href='"; echo bloginfo('wpurl'); echo "/wp-admin/' class=greeting>Inställningar</a> | "; echo "<a href='"; echo get_settings('siteurl') . '/wp-login.php?action=logout&redirect_to=' . $_SERVER['REQUEST_URI']; echo "' class=greeting>Logga ut</a>\n</div>\n";Please help!
The topic ‘How to write URLs in PHP?’ is closed to new replies.