Ciao a tutti,
sono 1 pò nei casini con questo codice:
Il mio scopo è di dividere questa tabella che si crea con tutti gli utenti iscritti, punteggio e livello su più pagine!Codice PHP:
<?php
include('../includes/config.php');
include('../includes/opendb.php');
$result = mysql_query("SELECT * FROM `darkuniverse_user` ORDER BY `darkuniverse_user`.`punti` DESC");
echo "<table width='300' table border='1' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='black'>
<tr>
<td background='../images/classifica_top.png'><p class='Stile2'>Nome Utente</p></td>
<td background='../images/classifica_top.png'><p class='Stile2'>Punteggio</p></td>
<td background='../images/classifica_top.png'><p class='Stile2'>Livello</p></td>
</tr>";
while($myrow = mysql_fetch_array($result))
{
echo '<tr>
<td background="../images/classifica_bg.png" class="classifica">'.$myrow["nomeutente"].'</td><td background="../images/classifica_bg.png" class="classifica">'.$myrow["punti"].'</td><td background="../images/classifica_bg.png" class="classifica">'.$myrow["livello"].'</td>';
echo '</tr>';
}
echo '</table>';
?>
Come posso fare??
Grazie in anticipo a tutti!