Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\web\www\webs\index.php on line 325
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in c:\web\www\webs\index.php on line 329
al utilizar
Código PHP:
<?
ob_start();
?>
Código PHP:
<?
include("config.php") ;
$mostrar = "10" ;
$resp = mysql_query("select * from usuarios order by id desc limit $mostrar") ;
echo "Zadnji $mostrar clanova registrovani:" ;
while($datos = mysql_fetch_array($resp)) {
echo "$datos[nick]<br>
" ;
}
mysql_free_result($resp) ;
mysql_close($conectar) ;
?>
A que se puede deber el error ?