come faccio a far diventare questa stringa una variabile:

Codice PHP:
{ echo " <img src=\"img/bullet/news.gif\" alt=\"\"><a href=\"index.php?id=$row[id]\">" date("j/n/y"$row[data]) . " - $row[titolo]</a> "; } 
(il codice soprapostato funziona... se trovate qualche errore propabilmante è xkè il forum l'ha modificato..)

ho provato a farla così :

Codice PHP:
$news " { echo " <img src=\"img/bullet/news.gif\" alt=\"\"><a href=\"index.php?id=$row[id]\">" date("j/n/y"$row[data]) . " - $row[titolo]</a> "; } "; 
ma mi da un'errore di sintassi...
cosa c'è che non va con $news = ""; ??? :master: