Please php coders, i want to show the list of active users but it really kicking me out. Please i need some one to tell me whats wrong with the code i am using. This the code i tried to use below
$acts=$db->select(SELECT user, userid, username, groupid FROM b_users WHERE tsgone>'".(time()-(246060))."' ORDER BY userid ASC"); if($acts){print"-Active users"; foreach($acts as $act){if($act->banned==1) print"<a href="".$cofig->url."profile.php?uid=".$act->userid.""><strike>$act->username</strike></a>,"; else print"<a href="".$act->url."profile.php?uid=".$act->userid."">groupid]['color']."">$act->username</a>,";
i want to be a talented php coder 🙂