+1 from me aswell. I use that "secret" whenever I want to comment out html. Makes the final page much cleaner, smaller and not to mention you don't give out hints of future or past features of the website :-) (in contrast to using <!-- --> ) Ultimately, once you're sure you won't need the html, just delete it. Otherwise 2 years from now you'll be scratching your head thinking why you comented that out...
On 20/01/2009, at 8:07 AM, Bob M Brown wrote: +1! Nice one Chris. chris burgess wrote: > Instead of using an "if" condition to comment something out, you can > use comment syntax: > > <?php /* ?> > <html><head><title>sample page</title></head><body> > <?php */ ?> > --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
