comments in php

web programming tutorials

محمد طيب

comments in php

comments in phpAs you know, PHP code can easily look confusing,so today we will learn about comments that makes php script easy to understand, and we will learn how to put comment in php scripts.

Comments are very important in all languages,when you are coding something, then there are some thing that are not easy to remember for you, or you writing script for public, then you want to tell to others about some code which is hard to understand,then php comments will help.

How to put comment?

Its easy, you just need to add double slashes [green]"//"[/gree] without qoutes then text you want to type,for example:


//php code goes here

?>


You can put comment every where in script,

if comment is more then one line, than type a slash then star "*" without qouets than type comment and than a star and slash at the end of comment,for example:


/* php code goes here, and we are using comment, if the comment text is more than one line, */

?>


Over for toady.

0% stars Rating : 0% Dari 0 User

Posted Posted: 16 Jan 2015 Author Author: tayyab
Views Views: 26551 Comments Comments: 4272 comments
Categories Categories: learn php
Tags Tags: comments,php,html,array
Share Share:

Incoming search terms :


Blog Title Comment
 

Write | View comments ( 4272 )

  • Axiorse's avatar#82902 Axiorse
    [Quote by Kennethneank]
    go to these guys <a href=" https://ciali...
    Indications are that fifteen percent of clairvoyants, ten percent of psychics, twenty percent of channelers and twenty-five percent of trance mediums are legitimate and genuine. <a href="https://bugsexpandinguniverse.com/von-allwrden/">von allwörden</a> Bedarfs, die typischerweise keine we are all explorers die neue urban a p pa r e l ko l l e kt i o n vo n n at i o n a l g e o g r a p h i c. <a href="https://thewriteacademy.org/kartenlegen-mit-herz/">kartenlegen mit herz</a> To change windows desktop wallpaper what we normally do is right click on the desktop and go properties and so on. <a href="https://crmcontactform.com/traumdeutung-zahnverlust/">traumdeutung zahnverlust</a>
    07 Apr 2020 - 21:39
    172.68.10.179
    Reply
  • Jafclini's avatar#82879 Jafclini
    [Quote by Freddiefluch] generic cialis 100mg https://cialisfavdrug.com/tra...
    <a href="https://leviolonrouge.com/category/sports/">sports</a>
    07 Apr 2020 - 18:54
    172.68.10.35
    Reply
  • Anitly's avatar#82871 Anitly
    [Quote by Marcusjoymn] taking viagra and cialis at the same time https://...
    <a href="https://lasixlineon.com/category/health/">health</a>
    07 Apr 2020 - 18:24
    172.68.10.161
    Reply
  • Insenia's avatar#82870 Insenia
    [Quote by Stephenlem] dosage for cialis for daily use https://cialisfavd...
    <a href="https://yourclomid.com/category/beauty-balance/">https://yourclomid.com/category/beauty-balance/</a>
    07 Apr 2020 - 18:22
    172.68.10.43
    Reply
  • Jacktat's avatar#82864 Jacktat
    <a href="https://zithromax250.com/">zithromax online fast delivery</a> <a href="https://toradoliv.com/">toradol tab 10mg</a> <a href="https://tamoxifencit.com/">tamoxifen buy</a>
    07 Apr 2020 - 17:23
    172.68.10.35
    Reply

Write comment

Write comment in comments in php
Name :

Email :

Website :

Comment :


Bbcode ON | Smiley ON

Category

Game cheats ( 5 )
Learn gis ( 5 )
Islamic zone ( 1 )
Adult jokes ( 3 )
Urdu adabi shagufay ( 3 )
Roman urdu jokes ( 1 )
Learn html ( 5 )
Civil engineering ( 2 )
Hacking tutorial ( 3 )
Symbian ( 5 )
Urdu fun ( 17 )
Learn php ( 32 )
General ( 10 )

Archive

Statistic

Online : 22
Hits : 5902/3426079
Hosts : 436/147356

Most commented

Most viewed