I am trying to implement a users online page into my site with the possibility to instant message them.
The instant messaging part is coded, but the users online aint.
I really don't know how i can display them in a list like this example : http://nl.rendez-vous.be/scripts/rv_benl/GetActiveUsers.htm?random=56118
I guess it's easy to code if you know where to start.
Question is can and will someone code this or give me an example on how to start???
It needs to be displayed in this order iff possible.
Females
Couples
Males
Female couples
Male couples
Listed as :
name - age - city - looking_for - popup-link
The name comes from dt_profile where name = name
The age from dt_members where age = age
The city from dt_profile where city = city
The looking_for from dt_profile where looking_for = looking_for
The popup link has this code for the moment, because i use it on the bottom of the page and it only displays a name.
<?
$select = "SELECT * FROM dt_usersonline";
$query = mysql_query($select);
while($list = mysql_fetch_object($query)){
$naam = $list ->login;
// echo "$naam ";
echo"<a href=\"msg.php?ac=sent&naam=$naam&van=$aAuth\" target=_blank >$naam</a> ";
}
?>
I would really appreciate your help on this.
Thanks,
Marc