![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
20/06/2008, 12:24
|
![Avatar de gepd](http://static.forosdelweb.com/customavatars/avatar205488_1.gif) | | | Fecha de Ingreso: diciembre-2007
Mensajes: 142
Antigüedad: 17 años, 2 meses Puntos: 6 | |
Respuesta: Noticia corta, como puedo hacer! creo que es así no? $connect=mysql_connect("localhost","root",""); $db=mysql_select_db("sistemanoticia2",$connect); $result=mysql_query("select * from noticias where id_noticia='$id'",$connect);
echo substr($result['noticia'], 0, 100);
intenta verificar las variables, lee dos veces el código y no te desesperes... |