<? $conn=@mysql_connect( "mysql", "xxx", "xxx" ) OR die("Connection Failed"); $rs = @mysql_select_db("xxx", $conn) OR die("Err:Db"); $sql="select score, name from names order by score ASC"; $sql = 'SELECT * FROM `names` ORDER BY `score` DESC LIMIT 0, 10'; $rs=mysql_query($sql,$conn); while ($row = mysql_fetch_array($rs) ) { echo($row["id"]); echo(" - "); echo($row["name"]); echo(" - "); echo($row["score"]); echo("<br>"); } ?>
I dalej nie wiem co zrobić.... czy ktoś mi może pomóc? (wiem że to coś prostego ale mi nie wychodzi)