Re: Creating an Entire .html page with PHP
| From: | Ashley Sheridan | Date: | Sat, 30 Jan 2010 01:33:46 +0000 |
| Subject: | Re: Creating an Entire .html page with PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301676@lists.php.net to get a copy of this message | ||
On Sat, 2010-01-30 at 12:34 +1100, clancy_1@cybec.com.au wrote:
> On Thu, 28 Jan 2010 13:39:31 -0800, mpeters@mac.com ("Michael A. Peters") wrote:
>
> >clancy_1@cybec.com.au wrote:
> >> On Thu, 28 Jan 2010 21:10:42 +0100, rene7705@gmail.com (Rene Veerman) wrote:
> >>
> >>> On Thu, Jan 28, 2010 at 12:31 AM, <clancy_1@cybec.com.au> wrote:
> >>>> On Wed, 27 Jan 2010 10:21:00 -0800, dealtek@gmail.com (dealtek) wrote:
> >>>> Opening tables, etc, wrongly generally messes the page up completely, but
> >>>> forgetting to close them again often has no affect no visible effect at all --
> >>>> until you
> >>>> make some innocent change and everything goes haywire!
> >>> whenever i write an opening tag, i immediately write the closing tag
> >>> next, then cursor back to fill it in.
> >>
> >> Not so easy when you are using PHP to generate a complex layout!
> >>
> >>
> >
> >Use DOMDocument.
> >Then you don't have to worry about closing the tags ;)
>
> Ohhh? The index page of the manual has 110 lines of totally meaningless entries, and the
> introduction doesn't open. I haven't the faintest idea what it's all about, but
> I very
> much doubt if it would mean anything to the original writer.
>
>
I've never used DomDoument to create an HTML page, and I probably never
will. I also don't have much of a problem with creating decent html code
that validates either.
Thanks,
Ash
http://www.ashleysheridan.co.uk