Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: MYSQL pagalba

Parašė Ponas24· 2011 Rugs. 19 23:09:06
#2


<td>
 
';$result = mysql_query("SELECT Vardas,vipiki,Vip FROM users WHERE Vip = '1' ORDER BY vipiki DESC LIMIT 150");
echo '<table border="1" cellpadding="3" cellspacing="0" rules="rows" frame="below" width="100%">
<th>#</th><th>Slapyvardis</th><th>Galioja Iki</th>';
$nr = '1';
while ($row = mysql_fetch_array($result))
{
echo '<tr>
<td><center>' .$nr++. '.</center></td>
<td><center>' .$row['Vardas']. '</center></td>
<td><center>' .$row['Vip']. '</center></td>
<td><center>' .$row['vipiki']. '</center></td>
</tr>';
}
echo '</table>
 
</td>


Jei teisingai supratau ;/