Monday, February 16, 2009

How to create PHP Comments

  Kaushal Patel       Monday, February 16, 2009
In the last post you learn about PHP and HTML embedding. Now in this post you will be introduce to another important thing of PHP Programming. It is PHP Comments. You can write comments three different ways in php.

The first way of declaring PHP Comments is like C Language.
/*
This is a C Language type PHP Comment
*/


The second way of declaring PHP Comments is like C++ Language.

// This is a C++ type PHP Comment which ends at the end of line


The third way of declaring PHP Comments is like Shell way.
# This is a shell type PHP Comment which ends at the end of line
logoblog

Thanks for reading How to create PHP Comments

Previous
« Prev Post

No comments:

Post a Comment