Basic Syntax of PHP Document
Assalam O Alaikum!
What is PHP
PHP is server Side Scripting language (It can’t be run as client-side.) whi+ch is used to create the interactive and dynamic Web pages. The word Dynamic means that the Webpages that can attract with visitors, and behave or change the appearance of the Frontend according to a certain Action when is performed by the visitors.
Why PHP?
Because it is a free, Open source server side language which is embedded in HTML.
Is it Only web based?
No! It is not only a web-based language, but you can also create Desktop Application & Games as well..You can create Web Application that works for you Automatically, like Weather Apps and Maap, etc.
What can we do with PHP
PHP can be used to develop Dynamic WebSites like Facebook OLX and Alibaba. Also, a Search engine can be created using PHP and a light bit of Python.
Video TutorialSyntax of PHP How to Run PHP on Local System
Outline Of PHP
- Variables in PHP
- Variables in PHP
- Logical operators
- Numbers in PHP
- Strings in PHP
- Control structures
- Transferring PHP
- Database Handling
- PHP to MySQL
- Querying In PHP
- Building Application
- Security features
Basic Syntax of PHP
- Type angel brackes (Grater Than Or Equal to Sign) < >
- Type two Question marks within the brackets
- < ?? >
- Then type Keyword PHP within the Question marks.
- Like
<?php
//The PHP statements will be placed within the Opening and Closing Tag of PHP
?>
0 Comments