function trunc($frase, $numero_massimo_di_parole) { $frase_array = explode(' ',$frase); if(count($frase_array) > $numero_massimo_di_parole && $numero_massimo_di_parole > 0) { $frase = implode(' ',array_slice($frase_array, 0, $numero_massimo_di_parole)).'...'; } return $frase; } ?>
|
|||||||||||||||||
Ristorante Imbarcadero Como - History
|
|||||||||||||||||