Edit Article

Hypertext Preprocessor is a widely used, it is a Programming and general-purpose scripting language that was originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document. PHP 5+ version fully supports OOP programming. There are plenty of PHP frameworks which can be used for rapid development of web applications. CakePHP, Zend, Codeigniter, Smarty are few examples of them.

Ad

EditSteps

  1. 1
    Before going into "Hello World" programme of PHP, Download & Install XAMPP in windows platform.
    Ad
  2. 2
    After installation you can see a 'htdocs' folder(xampp\htdocs) in XAMPP installed folder. All PHP files should be inside of 'htdocs' folder.
  3. 3
    PHP coding starts with <?php and ends with ?>.
    • A PHP file is combination of html tags and PHP code.
      • Write the codes such as
        • <?php
        • echo "Hello World";
        • ?>
    • Each code line in PHP ends with a semicolon(;).
    • Echo and print are basically used for displaying information in browser.
  4. 4
    Save it. The PHP file must be saved with the .php extension.
    Ad

We could really use your help!

Can you tell us about
cats?
Yes
No
cats
how to make catnip spray
Can you tell us about
Facebook applications?
Yes
No
Facebook applications
how to create a Facebook application
Can you tell us about
currency exchange?
Yes
No
currency exchange
how to buy Euros
Can you tell us about
sunless tanning?
Yes
No
sunless tanning
how to remove sunless tanning
Thanks for helping! Please tell us everything you know about
...
Tell us everything you know here. Remember, more detail is better.
Tips
Provide Details.
Please be as detailed as possible in your explanation. Don't worry about formatting! We'll take care of it. For example:
Don't say: Eat more fats.
Do say: Add fats with some nutritional value to the foods you already eat. Try olive oil, butter, avocado, and mayonnaise.

Article Info

Categories: Programming

Thanks to all authors for creating a page that has been read 8,075 times.

Did this article help you?
Yes No

Become
an Author!

Write an Article