he

Hello, this php script show on my gaming server website top 50 statistic on all crated characters. But I would like to make exeption for the GMs and Admins. So only normal players to be displayed. What should I do with that php or it is something in the SQL database. There should be some exeption code I think, but you are the experts. Ican’t do thar be myself. Thanks for your help in advance.

<?php $query = mssql_query('SELECT TOP 50 * FROM Character ORDER BY Resets DESC, cLevel DESC'); $i = 0; while($row = mssql_fetch_array($query)): $char_class = char_class($row['Class']); $i++; ?>

Does the character table have a column that differentiates gm, admin, not? Have you investigated where clauses at all?

Sponsor our Newsletter | Privacy Policy | Terms of Service