[plug] Line break in HTML code
Navarre
plug at anjov.com.au
Sun Aug 18 14:15:49 WST 2002
Hello Mike
In perl one would variable =~ s/\n/<br>/g;
On Sun, Aug 18, 2002 at 01:15:38PM +0800, J Michael Gilks wrote:
> While we are on the subject of HTML, nice segue huh, I am writing some pages
> using PHP to construct select boxes.
> The problem is when I do a view source on the page all the code is in one
> long line.
> This really annoys me as I do like neat code.
> Can someone please remind me how to format the lines so the source looks
> pretty.
> Thanks in advance.
> Love
> Mike.
More information about the plug
mailing list