Jump to content

What is missing ?


pedrobcabral

Recommended Posts

<?php
$resultnoticias = mysql_query("SELECT * FROM noticias ORDER BY id DESC") or die(mysql_error());  
$rownoticias = mysql_fetch_array( $resultnoticias );

while($rown = mysql_fetch_array($resultnoticias)){
echo $rown['id']; }
?>

 

I have 5 entries on my table and this query only show 4 of them, it NEVER shows the last entry, why?

Thank you.

Link to comment
https://forums.phpfreaks.com/topic/47254-what-is-missing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.