Titolo forse ambiguo ma questa è la situazione:
ho il seguente codice
codice:
$file = mysql_query("SELECT * FROM bacheca ORDER BY 'id' ASC ", $db);
while($fetch = mysql_fetch_array($file))
{
echo "".$fetch['titolo']."
";
echo $fetch['testo']."
<hr />";
}
che mostra il contenuto della tabella.
Il risultato è, correttamente:
titolo1
testo1
titolo2
testo2
titolo3
testo3
etc etc
Io invece voglio una cosa diversa: ad ogni refresh della pagina mostra solo un id, ovvero:
Titolo1
Testo1
->Refresh
Titolo2
Testo2
->Refresh
Titolo3
Testo3
->Refresh
....
->Refresh
Titolo1
Testo1
come fare?
tnx