Hello brows,I'd like a little help.
I'm making a web online game,then in the Map system.
I need get coords of players that is around.
Get in Database something like that:
<?php
$result = mysql_query("select * from mapa where x_coord > '5' AND x_coord < '10'");
while($row = mysql_fetch_array($result)) {
?>
But dosen't work cuz don't accept the ">" OR "<".
I know,I'd can create a
IF($row['x_coord'] > 5 OR $row['x_coord'] < 10) {
But if there's many players,it would give a sucking LAG =/
Someone have another idea?Thanks =)