using this:
$rdy = R::find( \'players\',\'room=0\'); $count = count($rdy); if($count>1) { for($i=0;$i<$count;$i++) {