Jump to content

Link to Public Profile


flyalaska

Recommended Posts

I am trying to make a link click able that will take a pilot to their Public Profile from their dashboard, Every attempt has failed. Any ideas.

This is what I thought would work.

<a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>">View My Public Profile</a>

Link to comment
Share on other sites

This is from the profile page, hence why I said $userinfo->pilotid.

Oh I know, and for this question that's a perfectly reasonable solution. I just thought I'd give an additional answer which allows use on all pages, then there's no complaining when it's copy/pasted elsewhere :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...