Hi,
Result id #2 and Resource id #2 are not the same!
The $result post: Resource id #2 and $data is nothing!
MY CODE IS:
$result = mysql_query("select id, emne, dato, svar from mysql where id > '0'") or die (mysql_error());
$antat = MYSQL_NUM_ROWS($resultat);
if ($antal > 0)
{
while($data = mysql_fetch_array($resultat))
{
SOMETHING
}}
:END OF CODE
PS: Mysql_error don“t post something.