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.

Susan

-- 
OPC for Lanteglos-by-Fowey
http://www.cornwall-opc.org/Par_new/l_m/lanteglos_fowey.php

OPC coordinator for Wiltshire
http://www.rootsweb.ancestry.com/~engwopcp/

Secretary to the PCC St. Michael's Headingley
http://www.st-michaels-headingley.org.uk/
Received on Wednesday, 22 October 2008 21:38:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:59 GMT