Learn How To Put Comments In Your PHP Code Step By Step Tutorial Guide

RegisterLogin
Learn How To Put Comments In Your PHP Code Step By Step Tutorial Guide
Post Description: Learn How To Put Comments In Your PHP Code Step By Step Tutorial Guide
Tags: Learn, How, To, Put, Comments, In, Your, PHP, Code, Step, By, Step, Tutorial, Guide
This Post Was Posted On Feb 29, 2008 By web hosting #1215
I had this question and could not remember how to put comments in my php code, so i ask the folks at www.webune.com for their support. you see i have several website i host with them, i like their service and profesional support. I recommend them to all my customers.

So the guys at webune showed me how to put comments in php and so that i wont' forget how to do it, i am posting this simple step by step tutorial guide so you can learn how to do it just in case you want to know how to ..

there are two way of putting comments in php. lets say i want to put the follwowing comments in my php code:

"I start my comments here"

i have two options:

option 1: i can use the number (pound) sign: # like this:
     Code:
# I start my comments here

or
option 2: I can use the /* and */ to start and end a comment. so anything in between them will be commented out. so this is how i would use option 2.
     Code:
/* I start my comments here */


tha'ts it, very simple huh.

Thanks again to the people at webune web hosting for their excellent service and support.
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
tanver
#4733 1
thank you very much.
Jan 03, 2011 Reply Report abuse
pablo
#1652 2
there are many different way to put comments or notes in you php another way i know of, all you have to put is two slash. for example: // my comments
Feb 06, 2007 Reply Report abuse
©2011 Webune Forums - Tue Dec 20, 2011 12:01 am
Powered by: Webune Forums V3