RE: [PHP] printf()?

From: Date: Mon, 17 Dec 2001 04:52:09 +0000
Subject: RE: [PHP] printf()?
Groups: php.general 
Request: Send a blank email to php-general+get-77901@lists.php.net to get a copy of this message
HTML doesn't pay attention to line breaks, thats why you're needing a <BR>... Jason -- Jason Murray jasonm@melbourneit.com.au Web Developer, Melbourne IT "Work now, freak later!" > -----Original Message----- > From: Ray Gaylog [mailto:rgaylog@rogers.com] > Sent: Monday, December 17, 2001 3:49 PM > To: PHP_Mailing_List > Subject: [PHP] printf()? > > > Hi.. > > I've been using PHP for just a little while, however I have > noticed somthing. > > In the doc's I've noticed you can do this: > printf("line1 \n line2 \n"); > > Now..this should (like C) print two seperate lines..however > It doesn't. To print this on seperate lines I must put a <BR> > in there. > > Any ideas? > > I'm using PHP 4.06 > > Ray Gaylog > rgaylog@rogers.com > > > > > >

« previous php.general (#77901) next »