Hi There,
i have a minor problem trying to validate HTML output from scripts, the main reason being blank lines before conent. It is probable easier to show you what I mean
----
HTML Output from PHP script
---
1:
// blank lines 2 -21
21:
22:
23: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
24: <html>
25:
26: <head>
27: <title>
//rest of HTML Output
-------------
Is there any easy way to strip all the unwanted blanks lines from the output. These lines are not present in any of my scripts or include files, they just seem to appear.
Thanks in advance for any help,
best wishes
Mike
i have a minor problem trying to validate HTML output from scripts, the main reason being blank lines before conent. It is probable easier to show you what I mean
----
HTML Output from PHP script
---
1:
// blank lines 2 -21
21:
22:
23: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
24: <html>
25:
26: <head>
27: <title>
//rest of HTML Output
-------------
Is there any easy way to strip all the unwanted blanks lines from the output. These lines are not present in any of my scripts or include files, they just seem to appear.
Thanks in advance for any help,
best wishes
Mike