This should be a simple query. But it only shows 3 items, and there are 5.
When I run the exact same query in my hosts PHP MYAdmin, I get 5 items, but on the website only 3.
What is wrong???
$foresp = mysql_query("SELECT id, navn, type FROM products WHERE godkendt = 'n'");
while($data = mysql_fetch_array($foresp)){
extract ($data);
echo "<table border=0 width=100%><tr>";
echo "<td width=5% class=table>$id</td>";
echo "<td width=60% class=table>$navn</td>";
echo "<td width=20% class=table>$type</td>";
echo "<td width=15% class=table><a href='rediger_produkt.php?id=$id>Godkend</a> </td>";
echo "</tr></table>";
}
Any suggestions???
Sincerely
qrt123