Dumb questions about php
How do you maki php comments in the code?
Are they: /* */
or are they: //
I've seen both in php code, but am clueless.
Yes i need a good easy beginners php site tutorial.
"Nothing worth having comes without some kind of fight- 'Got to kick at the darkness 'til it bleeds daylight." - Bruce Cockburn
Suzanne posted this at 18:35 — 21st June 2004.
She has: 5,507 posts
Joined: Feb 2000
You can use /**/, // or # (perl style comments).
I use /**/ for big blocks of code, and // for single lines. I don't use # at all because it annoys me, but it's perfectly valid.
druagord posted this at 19:20 — 21st June 2004.
He has: 335 posts
Joined: May 2003
for good doc go to php.net
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.