Course Content
Introduction
PHP is an object-oriented scripting programming language that allows web developers to create dynamic and interactive web pages. PHP stands for Hypertext Preprocessor (PHP).
0/14
Control Statement
A control statement is a statement that determines whether other statements will be executed.
0/7
PHP for Beginners
About Lesson

The syntax is a way to a representation of the PHP script. It gives the basic idea to specify the code format.

There are three ways to start PHP

For example, a echo statement is used to print the given string on the web page.

 

Canonical PHP tags

<?php
echo “Welcome to PHP language”;
?>

 

Short-open (SGML-style) tags

<?
echo “Welcome to PHP language”;
?>

 

HTML script tags

<script language="PHP">
echo “Welcome to PHP language”;
</script>