HTML doesn't pay attention to line breaks, thats why you're 
needing a <BR>...

Jason

-- 
Jason Murray
[EMAIL PROTECTED]
Web Developer, Melbourne IT
"Work now, freak later!"

> -----Original Message-----
> From: Ray Gaylog [mailto:[EMAIL PROTECTED]]
> 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
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to