Quote:
Originally Posted by ohadpartuck
thanks kh99,
1. i think you have a mistake in the $title = $user = .. row (don't know why you did that).
|
Just a cut and paste error - I was in a hurry.
Quote:
2. I am trying to also get the user link to his profile
I tried several ways (non worked ):
$link = 'http://www.s-maof.com/members/' . urlencode( $userid. '-'. preg_replace("/ /","-",$user));
$userlink = '<a href="'. $link . '" \>' . $user . '</a>';
i'm sutre there is an easier way..
|
What I posted was just meant to be some examples of getting the info, some of which might be useful. If you're trying to make a link to the user, maybe this:
Code:
$userlink = '<a href="' . fetch_seo_url('member', array('userid' => $userid, 'username' => $user)) . '"/>' . $username . '<a/>';
(Sorry for any typos - I haven't actually tried this code).