Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/07/2012, 04:15
franjgg
 
Fecha de Ingreso: marzo-2007
Mensajes: 751
Antigüedad: 17 años, 2 meses
Puntos: 4
Respuesta: textarea muestra <br> en lugar de hacer el salto de linea al leer de la BD

Hola amigo sgomez

claro hombre:

if($array = mysql_fetch_array($resultado)){
do {


echo '<tr>';
echo '<td>';
echo '<span style="font-color:#666666; font-size:10pt; font-weight:bold;">Title:</span>';
echo '</td>';
echo '</tr>';

echo '<tr>';
echo '<td>';
echo '<input name="titulo" type="text" size="126" value="'.$array['titulo_en'].'" class="Inputs_class"/>';
echo '</td>';
echo '</tr>';

echo '<tr>';
echo '<td>';
echo '<span style="font-color:#666666; font-size:10pt; font-weight:bold;">Description:</span>';
echo '</td>';
echo '</tr>';

echo '<tr>';
echo '<td>';
echo '<textarea name="noticia" rows="13" cols="95" class="Textarea_class">'.$array['noticia_en'].'</textarea>';
echo '</td>';
echo '</tr>';

}while ($array = mysql_fetch_array($resultado));
}

noticia_en es la variable que contiene el texto

Un saludo amigo y mil gracias