RE: [PHP-WIN] Probs with \n

From: Date: Tue, 13 May 2003 19:44:14 +0000
Subject: RE: [PHP-WIN] Probs with \n
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-19901@lists.php.net to get a copy of this message
> hi ... i´m beginn php programminganhave a problem with the "\n" > > when i try this - echo "hier sollte ein Umbruch sein\n so ist es" > i thouhgt my webbrowser should show it like this > > hiersollteeinUmbruch sein > so ist es > > but it´s all in one line !! > Where is my mistake ?? You need the HTML for a line break, e.g: echo "heir sollte ein Umbruch sein<br>so ist es"; HTH, Mikey

« previous php.windows (#19901) next »