need a lil bit help
Started on the old forum in May 2009 · view the original in the archive · old links redirect here
what script you using? and is it for a chat room cos if so you can also do it in php
|Dont forget to say thanx|
bijaybd wrote: can anybody there who can help me on this
$users = mysql_fetch_row(mysql_query("SELECT COUNT(`id`) FROM `chat_users` WHERE ltime>'".intval(time()-$offline)."' AND room='$rid'"));
if($users[0] >= "30")
{
# error you cnt enter
}
else
{
# you can enter
}