[Off] PHP~MySql.
#10

Quote:
Originally Posted by Gustavo_Araujo
Посмотреть сообщение
PHP код:
$result mysql_query("SELECT * FROM ranking ORDER BY matou DESC");  
if (
mysql_num_rows($result) > 0
{
    echo 
"<table>";
    while (
$row mysql_fetch_assoc($result)) 
    {
        echo 
"<tr>"
        echo 
"<td>Nome: " $row['nome'] . "</td>"; echo "<td>Matou: " $row['matou'] . "</td>";
        echo 
"</tr>";
    }
    echo 
"</table>";

Tente assim
Nгo era isso
Reply


Messages In This Thread
PHP~MySql. - by HumildadeAgain - 05.03.2013, 23:51
Re: PHP~MySql. - by Joao Pedro - 05.03.2013, 23:57
Re: PHP~MySql. - by HumildadeAgain - 06.03.2013, 00:03
Re: PHP~MySql. - by Joao Pedro - 06.03.2013, 00:06
Re: PHP~MySql. - by paulor - 06.03.2013, 00:07
Re: PHP~MySql. - by HumildadeAgain - 06.03.2013, 00:14
Re: PHP~MySql. - by Joao Pedro - 06.03.2013, 00:16
Re: PHP~MySql. - by HumildadeAgain - 06.03.2013, 00:19
Re: PHP~MySql. - by Dolby - 06.03.2013, 00:34
Re: PHP~MySql. - by HumildadeAgain - 06.03.2013, 00:37

Forum Jump:


Users browsing this thread: 1 Guest(s)