Non ti servono 2 righe nel while, ne basta una solaOriginariamente inviato da Orfeo93
...
Codice PHP:
$result = mysql_query("SELECT * FROM testi ORDER BY id");
while($row = mysql_fetch_array($result))
{
$link= $row['titolo'];
echo "<a href=$link>$link</a>";
}
Codice PHP:
$result = mysql_query("SELECT * FROM testi ORDER BY id");
while($row = mysql_fetch_array($result)) {
echo "<a href=$row['titolo']>$row['titolo']</a>";
}