PHP : First PHP Script

2 minutes read

What is PHP ?

PHP stands for Hypertext Preprocessor and is a server-side language. PHP allows web developers to create dynamic content that interacts with databases. PHP is relatively new (compared to languages such as Perl (CGI) and Java) but is quickly becomming one of the most popular scripting languages on the internet.


Learn PHP Code

PHP is basically used for developing web based software applications.

Writing PHP code on your computer is very easy.

Declaring PHP Code

PHP scripts are always enclosed in between two PHP tags. This tells your server to parse the information between them as PHP. The three different forms are as follows:

You can practice PHP online learning at:

 Online Code Builder


Facebook Twitter LinkedIn Telegram Whatsapp

Related Posts:

Some times we need the visitor’s IP address for validation, security, spam prevention etc. Getting the Visitor’s IP address is very easy in PHP. We can get the Internet Protocol (IP) address of any visitor by using PHP. Get Clients IP address using PHP script ...
Calculate sum of html element’s values with specific class names using Jquery. This code is useful in get sum of the elements values of specific class ,id. Jquery Something like the following should work for you: How to get sum of html element's ...
“How to Export MySQL data to Excel in PHP ?” This script will used to export data into .xls format from mysql database.You need to just copy this code and update database connection details. Below code will export mysql data into excel (.xls format) with ever...