Introduction:
- It is a backend language used to build a dynamic website with databases.
- It is known as HyperText Preprocessor
- we can develop web-based software applications with PHP.
why do we learn Php?
- Ease of use and learn.
- Cost efficiency(open-source).
- support object-oriented programming(OOP).
- supports cross-platform compatibility.
- works with all servers like Apache, IIS, etc
- security
- has huge community.
Uses of Php in web development:
- CMS(Content Management System).
- E-commerce website
- Mail Server
- Chatting System
- File Storage System
- ERP(Enterprise Resource Planning)
- CRM(Customer Resource Planning)
popular websites in PHP:
- Yahoo
- Wikipedia
- WordPress
- Mailchimp
- Flickr
- Flipkart
Php Code Syntax:
<?php
...PHP Code...
?>
Php Code Syntax in HTML Tags
<html>
<head>
<title>Php code</title>
</head>
<body>
<?php
...PHP Code...
?>
</body>
</html>
0 Comments