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:

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

2003-09-15 Thread Wei Wang
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? Many thanks, Wei Wang

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

2003-09-15 Thread Robert Cummings
You might try the following: !-- ?php /* */ ? -- 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

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

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: ?php /*

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

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

2003-09-15 Thread Jennifer Goodie
?php /* your mixed html and php code here */ ? that way php will take everything inside the ?php ? 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

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? Many