Join TalkersCode Now !

Get Latest Tutorials And Links On Web Development
And Get Existing Offers Via Email

PHP Introduction

PHP Introduction

PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language.You can nearly do anthing with in the server-side.

Install PHP

Things Needed To install and use PHP

  • Web Server web server is needed to install and run php on your pc

  • PHP install the latest version of PHP from the official website of PHP

  • Database install a database like MySQL from here

PHP Syntax

Simple PHP Syntax

<?php....Anthing Here is PHP Code...?>

PHP script can be placed anywhere in the document and you must save the document with .php extension.


<p>This is the basic example of PHP</p>


    echo "Simple Example of PHP";



All the PHP statements end with a semicolon (;).

PHP Comments

PHP comments is used to easily read the codes, comments cannot be executed and cannot be read by the users.


<p>This is the basic example of PHP Comments</p>

// single line comment.

Multiple line comment1
Multiple line comment2
Multiple line comment3
     echo "Simple Example of PHP Comments";



Join Us With Our 21000+ Subscribers And Get Our Latest Tutorials Update Via Email

Are You Starting A New Blog
Do You Want Best Web Hosting?

Try World's Best Web Hosting Provider BlueHost
At Just $3.95/mo

Hurry Up! Limited Time Offer

Yes, I Want To Check Out BlueHost

Check The World's Best SEO And All-In-One Marketing Toolkit
For Digital Marketing Professionals SEMRUSH