Categories
PHP

Syntax Overview

Syntax Overview

php SYNTAX-worldviewit
SYNTAXUAL OVERVIEW OF PHP
Before going to the syntax of PHP you must have knowledge about the term “syntax”. 
Prerequisites that I think you know before starting PHP. HTML (Hypertext Markup Language Basics) before starting PHP.

What You study in this topic:

WHAT IS SYNTAX?

HOW TO REMEMBER PHP SYNTAX?

HOW TO WRITE PHP SYNTAX?

EDITORS USED FOR PHP?


WHAT IS SYNTAX?

A syntax in programming is some kind of rules and regulation, principles, parameters, processes that everyone must know before starting any programming language. Moreover, in programming language syntax’s symbols are also used.

Why the syntax is important ?

 The syntax is important to make the appropriate structure of a program.

HOW TO REMEMBER PHP SYNTAX ?

Well, the most important thing is the syntax of PHP language is not easy to remember. So, if you practice hard you will easily learn syntax on your fingertips. But at the start, you may have faced problems for syntax related so don’t be panic and don’t lose hope.

Practice Makes A Man Perfect.

 HOW TO WRITE PHP SYNTAX?

So, if you know little about HTML you can get PHP syntax easily. (Take A Quick Look At HTML CLICK HERE)

PHP language has a starting and a closing tag.

So all the code/program or script goes inside starting and closing tag.

//PHP starting tag

A server(apache-server) is required to run the PHP script/ program. For More about PHP SERVER INSTALLATION YOU MAY READ. ABOUT PHP

Page extension must be .php and page is placed inside the server directory/folder to run the PHP script.

EDITORS USED FOR PHP ?

Editors/text editor is free or purchased software’s that allow developers to write  and edit the programs by using them some of these editors are mentioned below: 

Notepad

Notepad++

Atom

Brackets

Sublime Text editor

Bluefish

Leave a Reply

Your email address will not be published. Required fields are marked *