W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2008

Tidy for PHP

From: Susan Penter <susan.penter@gmail.com>
Date: Wed, 22 Oct 2008 18:59:17 +0100
Message-ID: <74a486090810221059v7940e37bq20aab8ada1e133bd@mail.gmail.com>
To: html-tidy@w3.org
I am in the process of going from casual web design to doing it full time.
At the moment I am writing in html but using php includes for my menus and
saving the files as .php extensions.  Is  there either a php version of tidy
or a way of doing includes without php?

I have tried doing it like this and saving the files as html  <!--#include
file="_includes/mainmenu.html" --> the code cleaned up and corrected the one
error (I use Screem) however the include didn't work on my website.

I'm not sure whether this is because my site supports php but not this sort
of include or what else could have happened.
Any advice would be greatfully received.


OPC for Lanteglos-by-Fowey

OPC coordinator for Wiltshire

Secretary to the PCC St. Michael's Headingley
Received on Wednesday, 22 October 2008 21:38:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:57 UTC