ho un problema con questa stringa che mi permette di inserire la notizia per 2 giorni, e poi sparisce. I problema è che sul server funziona ma in locale no... sapete dirmi perchè?
codice:
if ((time() - $row['data_pubb']) <= 60 * 60 * 24 * $rowconf['nuova_news_day']) {
$testo = ($rowconf['max_archivio_parole'] == 0) ? NULL : "
<span class=\"text2\">" . $row['testo'] . "...</span>
";
echo "<span class=\"text_all\"> <a href=\"index.php?action=wiew&id=" . $row['id'] . "\" title=\"Leggi...\">" . "</span>$testo</a>
";
}
else {
echo "<span style=\"color:#666;\">[Nessuna Allerta]</span>";