Parašė bad_user· 2009 Kov. 30 16:03:12
#4
$uzkl = mysql_query("SELECT * FROM lenta ORDER BY populiarumas");
$n = 0;
while ($q = mysql_fetch_array($uzkl))
{
$n++;
$daiktas = $q['daiktas'];
$populiarumas = $q['populiarumas'];
if($daiktas == "valtis") {
echo "$n $daiktas $populiarumas<br>";
}
}