Introduction of PHP And MySql presentation

FahimShaikh53 16 views 13 slides Jul 14, 2024
Slide 1
Slide 1 of 13
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13

About This Presentation

PPT For PHP And MySql


Slide Content

Introduction to PHP And MySQL
Presented By :-Fahim Shaikh
Slides based on PHP manual “Getting Started” from
w3schools

PHP -Overview
Introduction
What Is PHP?
How Does PHP Work?
What Can PHP Do?
Why PHP?
What Do I Need?
Installation
Tutorial

What Is PHP?
PHP (PHP: Hypertext Preprocessor)
PHP is a server-side scripting language
executed on the server
PHP is free to download and easy to use.
Developed by Rasmus Lerdorf in 1995
Latest Version: 8

Server-Side vs. Client-Side
Server-Side
Server-side
languages run on
the web server.
Example:-PHP, Python,
Ruby, Java, and Node.js.
Client-Side
Client-side
languages run in
the user's web
browser.
Example:-HTML,
CSS, and JavaScript.

How Does PHP Work?
As Previously mentioned that PHP is a server-
side scripting language which means it runs
in the server.

What can PHP do?
PHP can generate dynamic website
Two Type Of Website
Dynamic Website (Web Application)
Example:-blog, news, E-commerce
Static Website (Informative)
Example:-Dr-profile, lawyer-profile

Why PHP?
PHP runs on various platforms (Windows,
Linux, Unix, Mac OS X, etc.).
PHP is compatible with almost all servers
used today (Apache, IIS, etc.).
PHP supports a wide range of databases.
PHP is easy to learn and runs efficiently on
the server side.
PHP is free.
PHP Have Big Community.

What do I need?
install a web server, such as Apache
install PHP
install a database as well, such as MySQL.
OR
A PHP version and MySQL come out of the box
when you install XAMPP server. You can use other
development server instead of XAMPP such as
WAMPSERVER.
Download From Here: XAMPP.

Where to Write Code?
Notepad/Notepad++
PHPStrom
Net Beans
VS Code
Sublime Text 3
Why Sublime Text?
It's available for Windows, macOS, and
Linux
Lightweight
Easily Availability

Tutorial
Your first PHP-enabled page
Examples:-

First PHP-enabled page
Create a file named hello.php
Put it in your web servers directory
Example:
<?php echo "<h1>Heading</h1>"; ?>
<?php echo “<b>Bold Text</b></br>"; ?>
<?php echo "<p>Paragraph</p>"; ?>

Example Task
Personal.php
School.php
College.php
City.php
State.php
Dream.php
Hobby.php

THANK YOU