Hey guys im having a prob with this option of ara when u go to profile there are a option to see where the user are when u click on the location it never go to the place where the user are what are wrong with this code
$stitle = mysql_fetch_array(mysql_query("SELECT id, lastseen, lastdet FROM ibwf_users WHERE id='".$who."'"));
if(isonline($stitle[0]))
{
$sitelocation = mysql_fetch_array(mysql_query("SELECT
place FROM ibwf_online WHERE userid='".$who."'"));
$iml = "Where: $sitelocation[0]";
}else{
$iml = "Offline: Last Seen at $stitle[1]";
}
echo "$iml";
if($stitle[2])
{
echo " <a href=\"$stitle[2]\">go there</a><br/>";
}
Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code
NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH