<?php $only = $db -> dbcount('COUNT(`login`)','online','`where` like "%/chat/%"'); echo '<span class="count">'.$only.'</span>'; ?>