PDA

View Full Version : PHP and Actinic Tags


abemail1
24-Sep-2003, 11:04 AM
Hi there,

With ref to site: http://www.electronics-online.co.uk

The problem is:

I use PHP on the site for all manner of things. As a result I cannot compress the HTML because it appears to mess up the PHP code (by removing most of the line breaks etc).

However if I don't compress I get a load of Actinic tags :( in my code.

Does anyone know of a way of removing actinic tags without compressing or compressing without messing up the php?

Thanks very much,
Abe Shah
www.electronics-online.co.uk

Ben
01-Oct-2003, 07:51 AM
This query has been answered offline, but if anyone else is using PHP in the templates and wants to compact the html, the PHP can be left uncompacted by enclosing it in <script>...</script> tags.