PHP Full Course


Share php

The PHP Hypertext Preprocessor (PHP) may be a programing language that enables internet developers to form dynamic content that interacts with databases. PHP is largely used for developing internet primarily based package applications. This tutorial helps you to make your base with PHP.

What is a Scripting Language?

A script could be a set of programming instructions that's interpreted at runtime. The purpose of the scripts is sometimes to boost the performance or perform routine tasks for an application.


Programming Language Vs Scripting Language

Programming language Scripting language
The code must be accumulated before it tends to be executed The code is usually executed without compiling
Does not need to be embedded into other languages Is usually embedded into other software environments.
Does not create a file type. Creates a .exe file
Has all the features needed to develop complete applications. Mostly used for routine tasks
Example JavaScript, PHP, Ruby, Perl, VB Script, etc. Example C, C++, Java, Pascal, C#, VB, Basic, COBOL, etc.

Basic Syntax of PHP

Just to give all of you a little energy about PHP, I'm going to give you a little program PHP Hi developers.

<!DOCTYPE html>
<html>
   <head>
      <title>Hello programmers< /title>
   </head>
   
   <body>
      <?php echo "Hello programmers!";?>
   </body>
</html>
  OUTPUT:
  Hello programmers!

File Extensions of PHP

File extension and tags To define our PHP files and scripts to the server.
• phtml
• php3
• php4
• php5
• phps


Install XAMPP

xampp

XAMPP is a free and open-source cross-stage web server arrangement stack bundle created by Apache Companions, comprising predominantly of the Apache HTTP Server, MariaDB database, furthermore, translators for contents written in the PHP and Perl programming dialects Read More

Download the XAMPP installer at Download the XAMPP installer at http://www.apachefriends.org/en/xampp-windows.html