Ver Mensaje Individual
  #5 (permalink)  
Antiguo 10/09/2011, 09:15
Avatar de andresdzphp
andresdzphp
Colaborador
 
Fecha de Ingreso: julio-2011
Ubicación: $this->Colombia;
Mensajes: 2.749
Antigüedad: 12 años, 9 meses
Puntos: 793
Respuesta: Error de sintaxis

Código PHP:
Ver original
  1. <?php echo '<a class="detalle_noticia" href="noticia.php?id='.$rsprin['idnoticias'].'&ad='.$rsprin['titulo'].'&foto='.$rsprin['dirmagen'].'" target="_blank">' .
  2.  substr($rsprin['cuerpo'], 0, 250) . "...</a>";
  3. ?>
__________________
Si sabemos como leer e interpretar el manual será mucho más fácil aprender PHP. En lugar de confiar en ejemplos o copiar y pegar - PHP