By default only the owner of a profile can see a link to his own friends:
This is the code for this function:
example: My Buddies: 10
Now I want, that everybody can see, who is my friend. I want to use a link to my friends, which is shown to everybody in my profil, but it doesn't work
This is the code for this function:
Code:
$nob = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_buddies WHERE (uid='".$who."' OR tid='".$who."') AND agreed='1'"));
echo "[b]Buddies:[/b] $nob[0]
";
Now I want, that everybody can see, who is my friend. I want to use a link to my friends, which is shown to everybody in my profil, but it doesn't work
Code:
//////////////////////////////friends edit///////////////////////////
$nob = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_buddies WHERE (uid='".$who."' OR tid='".$who."') AND agreed='1'"));
echo "[b]1 [/b]buddies : <a accesskey=\"1\" href=\"lists.php?action=buds&sid=$sid;uid=$nob[0]\">$nob[0]</a>
";
//////////////////////////////////////////////////////////////////////////
Comment