Show 'last_online' from 'users' column

Status
Not open for further replies.

zMagenta

Posting Freak
Jul 15, 2011
1,414
682
This is not Habbo related. I'm not excellent as PHP and finally moving on from Habbo development. Sorry if this sounds like a really 'nooby' question; how would you get 'last_online' from 'users' if 'key' = >5?

If I could have the PHP for it, that'd be great.

Thanks,
zMagenta.
 

Markshall

Русский Стандарт
Contributor
Dec 18, 2010
2,638
2,393
PHP:
$query = mysql_query("SELECT `last_online` FROM `users` WHERE `key` >= 5");
if ($query) {
    //do your shit
}else{
    die(mysql_error());
}
 
Status
Not open for further replies.

Users who are viewing this thread

Top