Codice PHP:
<?php
$query = "select * from prova ORDER BY id DESC LIMIT 0,1";
$result = mysql_query($query, $db_1);
$rigo = mysql_fetch_array($result)
echo '
[url="leggi.php?id='.$rigo['id'].'"][b]'.substr($rigo['titolo'], 0, 25).'[/b][/url]'.substr($rigo['testo'], 0, 100).' ...</p>';
?>