estoy haciendo una sistema de administracion de contenido con php y mysql. Hasta ahora todo funciona bien, editar, agregar, eliminar, etc. pero tengo un pequeño problema, no se me respetan los saltos de linea.
Pro ejemplo, si quiero escribir esto:
primera lineaprimera lineaprimera linea.
segunda lineasegunda lineasegunda lineasegunda linea,
tercera lineatercera lineatercera linea.
al momento de recargar la pagina me aparece esto:
primera lineaprimera lineaprimera linea.segunda lineasegunda lineasegunda lineasegunda lineatercera lineatercera lineatercera linea.
Para mostrar los textos desde la base de datos utilizo este query:
Código HTML:
 <?php
     include ("connect.php");
    $text = mysql_query("SELECT * FROM kalender order by datumet Desc" )
          or die(mysql_error());
    $totalReg=mysql_num_rows($text);
    $i='0';
    while($i<=$totalReg)
    {
          $row = mysql_fetch_array($text);
         echo '<p class="title2" style="font-weight: bold;">
                    '.$row[title].'<br />
                 <span class="brod" style="font-weight: bold;padding-left: 0px;">' .$row[datumet]. '</span><br />
               <span class="brod" style="padding-left: 0px; font-weight: 100;">'.$row[news].'<br /></span>
                </p>';
							
	$i++;
     }
    mysql_free_result($text);
 ?> 
Código:
  
no se en cual de esas partes esta el problema. else { // Si no se envio el formulario, Mostramos el dicho formulario
        echo '<center><p class="title">Lägg till aktivitet</p></center>
        <form method="post">
	<table align=center>
	     <tr><td class="title2" style="font-weight:bold;" align="right">Titel:</td><td><input type="text" name="title" maxlength="250" /></td></tr>
	<tr><td class="title2" style="font-weight:bold;" align="right">Insändare:</td><td><input type="text" name="author" maxlength="250" /></td></tr>
	<tr><td class="title2" style="font-weight:bold;" align="right">Inledning:</td><td><textarea name="intro" cols="40" rows="5" /></textarea></td></tr>
	<tr><td class="title2" style="font-weight:bold;" align="right">Aktivitet:</td><td><textarea name="news" cols="40" rows="10"></textarea></td></tr>
	<tr><td class="title2" style="font-weight:bold;" align="right">Datum:</td><td><input type="text" name="datumet" /></td></tr>
	<tr><td> </td><td><input type="submit" name="submit" value="Spara" />
	<input type="reset" name="reset" value="Radera" /></td></tr>
     </table>
</form>';
}
se agradece la ayuda que me puedan dar
saludos
 
