os dejo como lo he puesto necesito ayuda no me sale bien:
Código PHP:
Ver originalparte de codigo donde asigno las variables:
if ($totEmp> 0) {
while ($rowEmp = mysql_fetch_assoc($resEmp)) {
if($rowEmp['id_noticia'] == $idNoticia1){
$titularNoticia1=$rowEmp['titular'];
$contenidoNoticia1=$rowEmp['noticia'];
}
parte del body:
<?php echo $contenidoNoticia1; echo nl2br( $rowEmp["noticia"] ); ?>