I'm creating a game and I have gotten most of it done but It only shows one person on the map, because I'm using WHERE ecy='ect'
But if I take out the WHERE I get one map for every person on the page
PHP Code:
$result2 = mysql_query("SELECT * FROM members WHERE (removed) ");
PHP Code:
while($row2 = mysql_fetch_array($result2))
{
Here is the code to display the characters
PHP Code:
<?php if ($position != A2) { ?> <td bgcolor="#0000CC" width="23" height="23"></td><?php } else { ?>
<td bgcolor="#0000CC" width="10" height="10"><img src="<?php echo "$army/$character_type" ?>.png" alt="<?php $username ?>" width="10" height="10"></td><?php } ?>
Can I change the WHILE to something that won't make it loop?