Re: [PHP] #comment, (* comment *), -- Any good alternatives to !-- HTML comments? --

2006-08-06 Thread Micky Hulse

Micky Hulse wrote:
Any other alternatives? I would like to find a way of adding comments to 
an XHTML PHP page that is quick and easy.


Ah, nevermind... I should have never posted this question.

This solved my problem (IE duplicate char bug):
!--[if !IE]Put your commentary in here...![endif]--

I was trying to think of ways to include comments in my html templates 
that did not involve actual html comments.


Anyway, after posting, I realized that PHP would not really do the trick...

More info here if anyone interested:

http://www.positioniseverything.net/explorer/dup-characters.html

Sorry for spamming list. I have not had much sleep lately.

Cheers,
Micky

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] #comment, (* comment *), -- Any good alternatives to !-- HTML comments? --

2006-08-05 Thread Micky Hulse

Hi,

Hopefully this is not a completely stupid question, but... Any 
alternatives to using HTML comments in an XHTML 1.0 Strict docutment?


For example, I could do this:

XHTML
XHTML
XHTML
?=# Comment goes here.?
XHTML
XHTML
XHTML

That might work for some situations...

Any other alternatives? I would like to find a way of adding comments to 
an XHTML PHP page that is quick and easy.


TIA.
Cheers,
Micky

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php