skippa Posted May 1, 2009 Share Posted May 1, 2009 $c=mysql_query(" 'SELECT * FROM `users` WHERE status='Alive' ORDER BY `users`.`health` ASC LIMIT 0, 10 ';"); while($d=mysql_fetch_object($c)){ echo "<tr><td><a href='profile.php?viewuser=$d->username'>$d->username</a></td><td>$d->health</td><td>$d->rank</td></tr>"; Quote Link to comment Share on other sites More sharing options...
stockton Posted May 1, 2009 Share Posted May 1, 2009 Which line? If your query is the SQL line I would write it as follows. $c=mysql_query("SELECT * FROM `users` WHERE status='Alive' ORDER BY `users`.`health` ASC LIMIT 0, 10;"); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.