2007. 04. 12, csütörtök keltezéssel 21.22-kor Panquekas ezt írta:
> Hello,
> 
> I'm trying to indent my HTML, but I have an problem.
> So, what I have now is:
> <html>
> <head>
> (...)
> 
> And I want something like:
> <html>
>   <head>
>      (...)
> 
> But when I use "\n\t" in a echo comes out something like this:
> 
>     <DIV ID="menu">
>       <P>Hi</P>
> 
> 
> As you can see, the tab has 4 spaces and in the bottom as 8 spaces and I
> just want only 2 spaces in each newline.
> How can I do that?
> 

well, you could use "\n  " for the newlines, no?

greets
Zoltán Németh

> Thanks in advance.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to