Проблем!!!

Montez

Registered
Код:
<?php
include ("conn.php");
$sql="SELECT * FROM news ORDER BY id LIMIT 3"
or die ("Typ si kat galo6");

$q1=mysql_query($sql) or die (mysql_error());
while($row = mysql_fetch_array($q1)) {
extract($row);
$name=$row[ime];
$n=$row[novina];
$id=$row[id];
}
echo "$id";
echo "$name";
echo "<p>";
echo "$n";
echo "</p>";
?>


изкарва по една новина вместо 3
 
<?php
include ("conn.php");
$sql="SELECT * FROM `news` ORDER BY id LIMIT 3";

$q1=mysql_query($sql) or die (mysql_error());
while($row = mysql_fetch_array($q1)) {
extract($row);

echo $id;
echo $ime;
echo "<p>";
echo $novina;
echo "</p>";
}
?>
 
Код:
<?php
include ("conn.php");
$sql="SELECT * FROM news ORDER BY id LIMIT 3"
or die ("Typ si kat galo6");

$q1=mysql_query($sql) or die (mysql_error());
while($row = mysql_fetch_array($q1)) {
$name=$row[ime];
$n=$row[novina];
$id=$row[id];
echo "$id";
echo "$name";
echo "<p>";
echo "$n";
echo "</p>";
}
?>

Не мога да разбера за какво е това extract?
 

Горе