RE: PHP in a link?
Hmm, I'm not trying to change anything in my file. I want to change the <a href=account.php> My Account </a> link in the template file to <a href=viewprofile.php?id=[logged in user's ID]> My Account </a>. I tried using <a href=viewprofile.php?id=".$id."> My Account <a> but that just linked to viewprofile.php?id=".$id." instead of replacing the ".$id." with the logged in user's ID.
Does this make any more sense?
|