Page 1 of 1

Adding user id to end of a link

Posted: Fri Feb 13, 2009 12:28 pm
by pacificwalter
I am trying to figure out how to make external links include a user id at the end.

In other words...
When user # 99 visits, instead of him/her seeing: http://www.cj.com , I want them to see http://www.cj.com/?user99

I've tried to just put print $user->id; and {print $user->id;} and other variations at the end of the url, but it comes back with errors.

If someone could point me toward a relevant tutorial I'd be thankful.