falconpilot Posted June 3, 2003 Posted June 3, 2003 I thought this would be an easy thing to figure out but boy was I wrong. All I am trying to do is add a simple comment or as we old basic programmers used to call it a REM statement inside the php code. Can someone tell me how to enter comment statement in both php and html. Thanks. falconpilot
Ian Posted June 3, 2003 Posted June 3, 2003 To do it within php just start the line with // e.g. // This is a comment in amongst html bracket the comment with <!-- and //--> <!-- This is a comment //--> Trust me, I'm an Accountant.
mattice Posted June 3, 2003 Posted June 3, 2003 And to span multiple lines (in PHP) you'd use: /* this is a comment */ "Politics is the art of preventing people from taking part in affairs which properly concern them"
falconpilot Posted June 3, 2003 Author Posted June 3, 2003 I am also wondering if I could use the multi-line format as a one line comment to. For example: /* This is a one line comment using multi line format */ Would this work? Thanks again for your help. falconpilot
Recommended Posts
Archived
This topic is now archived and is closed to further replies.