Help me with commenting
I'd really like to FINALLY and COMPLETELY understand making BLOCK comments in the "WordPress code" (ie. templates.php) that don't wind up being seen. I find "leaving" OBVIOUS comments for myself is absolutely necessary. Both so I can WHERE I have changed something, and, even more importantly, WHY!
Whenever I Google commenting in php I find that every line of comment can just supposedly be started with "//" (double quotes ignored) -- but when I do that the lines show up in the rendered website. Do the "//"s have to be contained within "<?php"s like this? <?phpAnd how about the following? When does this work ...and NOT work? <!-- comment start +++++++++++++++++++++++++++++++++ -->Is there any way that I can comment a block (multiple lines) of code by inserting a "<begin comment>" at the first line of the comment and a "<end comment>" after the last line? OR is it always necessary to have something at the start of EVERY line? I never had all these trouble with good, old, plain HTML (or even BASIC or dBase "in the day") HELP! Thank you! Jim |
All times are GMT -6. The time now is 09:42 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.