on air

Adding Comments Into PHP Script

back home » Scripting Tutorials » PHP » Adding Comments Into PHP Script

What Is A Comment?.

In PHP a comment tag could be used to add comment or disable a line of a script. Alternatively, a large block of script or comment, this will only serve as "Read-only" and will not display when a website is loaded in a browser.

Single Line Comment.

Writing a comment on a single line, you'll place a double forward slash or a hash before it.

See Illustration below.


//Use double forward slash to comment on a single line.

#You can also use a hash to comment on a single line.


Large Block Comment.

To comment or disable a large block of text or a script. You'll start with a forward slash, followed by an Astrix, your statement or script will follow, and all will be closed with an Astrix, followed by a forward slash.

See Illustration below.


With this method, 
you can comment or disable a large block 
of statement or script.
And browser will ignore it. 


Commenting Code In PHP.


Man will give you worldly powers, and make you feel on top of all, note this is temporally and could be redrawn at anytime sending you back to the ground floor of life. However, the Lord Almighty, the one and the only rightful ruler of the Universe, blesses everlastingly.


Knowledge is Power, but Power is not Knowledge. Wisdom is the truthful Power that identifies the Knowledge within the man. And only, I repeat 3x. Only the almighty God has the power to bless the man with his Wisdom forever.

To achieve the Lord's blessings, cease not praying daily, asking for his Wisdom, and you'll be blessed abundantly...


Spyera Phone

Spyera Phone version is software that you install on a smart phone to monitor everything happening on the phone. After installation, SPYERA secretly records events (sms, call history, phone book, location, emails, What's App messages, IM, Facebook Chat, Skype, See photos taken and many more...) that happen on the phone and delivers these information to a web account, where you can view these reports 24/7 from any Internet enabled computer or mobile phone. SPYERA also allows you to listen to the surroundings of the target mobile , listen to the phone conversation and to know the location of the device.

Please, Kindly Donate What You Can, Enabling Us Pay Hosting And Domain Costing, And Do More.

Please Donate