last seing option

Started on the old forum in September 2009 · view the original in the archive · old links redirect here

1 reply · 320 views · started 17 years ago · 1 min read

2 participants
riderz Lead · 975 posts #1

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

something else Fellow · 2,296 posts #2

probably you addonline() function needs updating through out script

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close