Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/03/2005, 13:36
Avatar de El_MiMo
El_MiMo
 
Fecha de Ingreso: septiembre-2003
Ubicación: Chile
Mensajes: 123
Antigüedad: 23 años, 2 meses
Puntos: 1
Esto ocupo yo...

Código PHP:
include("conexion.php");
$query = mysql_query("SELECT * FROM tabla ORDER BY id DESC LIMIT 0,15");
while(
$row = mysql_fetch_array($query)){
$texto=substr($row[texto], 0, 150)." ..."; // 150 es el numero de caracteres
echo "
$texto        
    "
;
}
mysql_close($link); 
__________________
aaa!!