"Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Wrong approach all together. Start using CVS
and do not mix php and html - use templates :)
rush
--
http://www.templatetamer.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
Wrong approach all together. Start using CVS
Wei Wang wrote:
>hi,
>
>This may sound very newbie. But since html comment uses which doesn't
>comment out the
>php code. And the php comment /**/ // apparently doesn't work on html. So how do I
>comment out
>a chunk of html/php mixed code?
>
>
>M
>
> your mixed html and php code here
>
> */ ?>
>
> that way php will take everything inside the tags and
> comment them
> out, regardless of if they are html or php or whatever.
This won't work is your PHP code has comments using /* */ syntax in it
already. I always just through an if(false){
On Mon, Sep 15, 2003 at 08:59:53PM +0100, Wei Wang wrote:
:
: This may sound very newbie. But since html comment uses
: which doesn't comment out the php code. And the php comment /**/ //
: apparently doesn't work on html. So how do I comment out a chunk of
: html/php mixed code?
Remove the chu
From: "Wei Wang" <[EMAIL PROTECTED]>
> This may sound very newbie. But since
> html comment uses which doesn't
> comment out the php code. And the php
> comment /**/ // apparently doesn't work
> on html. So how do I comment out a
> chunk of html/php mixed code?
/* and */ appears to work:
HTML
On Monday 15 September 2003 12:59 pm, Wei Wang wrote:
> hi,
>
> This may sound very newbie. But since html comment uses which
> doesn't comment out the php code. And the php comment /**/ // apparently
> doesn't work on html. So how do I comment out a chunk of html/php mixed
> code?
probably the e
You might try the following:
This is untested, I've never had to face the issue.
Cheers,
Rob.
On Mon, 2003-09-15 at 15:59, Wei Wang wrote:
> hi,
>
> This may sound very newbie. But since html comment uses which doesn't
> comment out the
> php code. And the php comment /**/ // apparently do
7 matches
Mail list logo