Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-16 Thread rush
"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

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Raditha Dissanayake
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

RE: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Jennifer Goodie
> > 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){

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Eugene Lee
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

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread CPT John W. Holmes
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

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Gabriel Guzman
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

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Robert Cummings
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