Monday, June 20, 2011

how to start php : step by step.

============================================
Before we can do the big fancy stuff we must first learn the basics from which we build on.
Start by creating a blank file using any program that can save in plain text format.
==>open note pad
==>Save as .php file for example testpage.php
==>enter the following code :


==> here " echo"Bismillah" indicates print the word "Bismillah"
==>"?>" indicates end point of php tags.
Comments in PHP

In PHP, we use // to make a single-line comment or /* and */ to make a large comment block.

for example:


//This is a comment

/*
This is
a comment
block
*/
?>
One reason you may want to put a comment in your code is to make a note to yourself about what the code is doing for reference when you edit it later. You may also want to put comments in your code if you plan on sharing it with others and want them to understand what it does, or to include your name and terms of use within the script.

No comments:

Post a Comment

facebook

International movers in newyork, Long distance movers in newyork, Automobile movers in newyork , Temporary storage, Moving supplies, moving overseas, international shipping, shipping, free quotes, moving quotes, moving company, international removals, removal company.Please visit here: baileysworldwide.com ====================================================== debris removal in nyc, garbage removal in nyc, debris removal in queens, demolition removal in queens, garbage removal in queens, garbage removal in New York.Please visit here : Richmond HILL demolition & garbage removal ======================================================= NYC work permit, NYC violation removal, Alt I, Alt II, Alt III filings,(interior, commercial build outs), New Building, Builders Pavement Plan (BPP), Sign applications, Sprinkler Fire alarm applications, Place of Assembly, Temporary Place of Assembly, Stop Work Order Removal. Please visit here : chameleonexpediting.com