not a valid MySQL result resource
Jeg får denne fejl:Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
ved nedenstående:
<?php
include "db.php";
$test = mysql_query("SELECT * FROM medl ORDER BY time DESC LIMIT 30");
WHILE($onl = mysql_fetch_array($test)) {
print "<br>$onl[navn]<br>";
}
mysql_close();
?>
