Home »
Development
,
Learn PHP
,
PHP
,
PHP Blog
,
PHP Comments
,
PHP Guide
,
PHP Help
,
PHP Information
,
PHP MySQL
,
PHP MySQL Programming
,
PHP Tutor
,
PHP Tutorial
,
PHP Web Programming
,
Step by Step PHP
» How to create PHP Comments
How to create PHP Comments
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
Thanks for reading How to create PHP Comments
No comments:
Post a Comment