0% found this document useful (0 votes)
9 views

PHP Intro

Uploaded by

blueestarr12812
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

PHP Intro

Uploaded by

blueestarr12812
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

INTRODUCTION TO

PHP
MEET OUT
TEAM
K JAYA PRASAD-R20CA155
MOHAMMED SAAD-R20CA153
Bhushan KUMAR-R20CA135
AGENDA

Introduction

What is a PHP File?

What Can PHP Do?

Characteristics of PhP

Syntax ex of php

Small example for php

PRESENTATION TITLE 3
INTRODUCTION
The term PHP is an acronym for PHP:
Hypertext Preprocessor. PHP is a server-
side scripting language designed
specifically for web development. It is
open-source which means it is free to
download and use. It is very simple to
learn and use.

4
WHAT IS PHP
FILE
• PHP files can contain text, HTML, CSS,
JavaScript, and PHP code
• PHP code is executed on the server, and
the result is returned to the browser as
plain HTML
• PHP files have extension ".php"

5
WHAT CAN PHP
DO
• PHP can generate dynamic page content
• PHP can create, open, read, write, delete, and close files on
the server
• PHP can collect form data
• PHP can send and receive cookies
• PHP can add, delete, modify data in your database
• PHP can be used to control user-access
• PHP can encrypt data

6
WHY PHP?

platforms compatible support free usage

Wide range of Open source Easy to learn


Window Apach data base software and run
effi cently on any
s
e server

Macos iis

linux

PRESENTATION TITLE 7
CHARACTERISTICS OF PHP

• Simple and fast


• Effi cient
• Secured
• Flexible
• Cross-platform, it works with major
operating systems like Windows,
Linux, and macOS.
• Open Source
• Powerful Library Support
• Database Connectivity

8
SYNTAX AND EXAMPLE OF PHP

syntax EXAMPLE
<html>

<?php
<head>
PHP code goes here
<title>PHP Example</title>
?>​
</head>

<body>
<?php echo "Hello, World! This is PHP
code";?>
</body>

</html>
9
Output:Hello, World! This is PHP code
2ND EXAMPLE OF
PHP

<!DOCTYPE html>
<html>
<body>

<?php
$txt1 = "Sum of x and y is:";
$x = 1234;
$y = 4321;

echo "<h3>" . $txt1 . "</h3>";


echo $x + $y; 10
THANK YOU

11

You might also like