Porca miseria avevo un nome sbagliato alla tabella...![]()
Grazie Ken per avermi "drizzato" le antenne!![]()
L'ho corretto ed ora mi appare questo però..
Warning: strtotime() [function.strtotime]: Called with an empty time parameter.
alla riga incriminata ho
echo "<a href=\"news.php?artid=$row[Id_news]\">" . date('d/m/Y', strtotime($result_array['Data']))." - ".$row[Titolo]. " - ". substr($row['Testo'],0,50)."..</a>
"; }
la query è
$query = "SELECT * FROM tab_news ORDER BY Id_news DESC LIMIT $start,$step";
$result = mysql_query($query, $db);
while ($row = mysql_fetch_array($result))
{
può dipendere da un aggiornamento al php 5? Boh!