PHP Programming 101

January 21st, 2008

Embedding Comments

Posted by Conrad in Basic Programming, Sample Code

Now, to make you a better programmer we all know the value of comments. This allows you to understand the code that you have written defining and given meaning to operations as you build them up. You start with the terminators used by PHP and end with them as well. Single line comments look like this �// comment� and Multi-line ones use the syntax /* comment comment*/. A better example would be the one below:

//comment
/* comment
Comment*/
?>

In the next post we take on the best parts of PHP which would be variables which is essential in all programming languages.

Comments are closed.

Sorry, the comment form is closed at this time.

Bad Behavior has blocked 39 access attempts in the last 7 days.