Ver Mensaje Individual
  #3 (permalink)  
Antiguo 14/05/2010, 13:23
ziin
 
Fecha de Ingreso: agosto-2009
Mensajes: 85
Antigüedad: 14 años, 8 meses
Puntos: 1
Respuesta: Help! Sistema de noticias

Cita:
Iniciado por Synkronice Ver Mensaje
Puedes ayudarte de la funcion substr()

Ejemplo:

Código PHP:
$texto "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.";

// Esto te devolverá solo los 65 primeros caracteres y agregará tres puntos al final

echo substr($texto065).'...'
Saludos!
GRACIAS POR RESPONDER!!

Pero no me funciona sigue mostrando igual
cambie la parabla TEXTO por que no bada pro articulo que es el queto de la noticia pero tampoco??