PHP+MYSQL+HTML question...
#1

Hi guys...

I have a question... how to show top 10 most rich players on my website... i know the basics from php, mysql, html and css, but only the BASICS.

Here is my code:
PHP код:
<?php 
    
include('../konekcija.php'); 
    
$proveripari mysql_query("SELECT * FROM Igraci ORDER BY pCash LIMIT 10");
    while (
$row mysql_fetch_array($proveripari)) 
    {
          
$ime $row["pProfil"];
        
$pari $row["pCash"];
    }
?>
and after this shit i have:
Код HTML:
<table id='desnastrana-tabela'>
<thead>
<th>Бр</th><th>Име</th><th>Држ</th><th>Богатство</th>
</thead>
<tbody>
<tr>
<td>1</td>
<td><?php$ime?></td>
</tr>
</tbody>
and its showing just blank field...
Reply


Messages In This Thread
PHP+MYSQL+HTML question... - by NeroX98 - 20.12.2013, 19:13
Re: PHP+MYSQL+HTML question... - by Patrick - 20.12.2013, 19:31
Re: PHP+MYSQL+HTML question... - by NeroX98 - 20.12.2013, 19:35

Forum Jump:


Users browsing this thread: 2 Guest(s)