SlideShare a Scribd company logo
1 of 22
SUBMITTED TO: SUBMITTED BY:
Mr. Suneel Kumar Nikita Vijay
(HOD of CSE Dept.) B. Tech –VII sem(CSE)
A SEMINAR PRESENTATION ON
“WEB DEVELOPING USING
CORE PHP”
Contents
 INTRODUCTION
 LANGUAGES IN WEB DEVELOPING
 PHP
 HISTORY OF PHP
 WHY I CHOOSE PHP?
 CONNECTIVITY TO MYSQL
 INSTALLING PHP
 INTRODUCTION TO XAMPP
 CONCLUSION
A website is a collection of related web pages, including
multimedia content, typically identified with a common
domain name, and published on at least one web server.
Web development is a broad term for the work involved
in developing a web site for the Internet (World Wide
Web) or an intranet (a private network).
 So many languages are used in web developing .
 For any dynamic website , we use server side scripting
languages like PHP, .NET, PYTHON , etc .
 The backend is an enabler for frontend .
A Diagram Showing Relationship
Between Front-End And Back-End
PHP is a server-side scripting language.
It was created by Rasmus Lerdorf in 1994 .
PHP origionally stands for Personal Home Page ,Which
now stands for HyperText Preprocessor.
Like sql, PHP also Can be directly embedded in HTML
page.
PHP files can contain CSS,HTML,JavaScript and PHP code.
PHP runs on different platforms.
BRIEF HISTORY:
PHP (PHP: Hypertext Preprocessor) was created by Rasmus Lerdorf in
1994. It was initially developed for HTTP usage logging and server-
side form generation iUnix.
PHP 2 (1995) transformed the language into a Server-side embedded
scripting language. Added database support, file uploads,
variables, arrays, recursivefunctions, conditionals, iteration, regular
expressions, etc.
PHP 3 (1998) added support for ODBC data sources, multiple
platform support, email protocols (SNMP,IMAP), and new
parser written by Zeev Suraski and Andi Gutmans .
PHP 4 (2000) became an independent component of the web
server for added efficiency. The parser was renamed the
Zend Engine. Many security features
were added.
PHP 5 (2004) adds Zend Engine II with object oriented
programming, robust XML support using the libxml2 library,
Why I choose
PHP???
Others
P
H
P
Why I choose PHP??
 Easy to Use.
 Cross-platform.
 Codes are easily available.
 Code is embedded into HTML .
 Widely available.
 Speed of development.
 PHP is compatible with almost all local servers used
today like Apache, IIS etc.
0
%
10
%
20
%
30
%
40
%
50
%
60
%
PH
P
Jav
a
ASP.N
et
C
#
Rub
y
Rai
ls
Pyth
on
Pe
rl
Server Side language demand distribution graph
We can use several of editing tools to build a PHP code.
Some of them are given below:
Notepad
Notepad++
PHP-CPP
SublimeText
phpDesigner8
A PHP CODE (ON NOTEPAD++):
Output of the above code:
A PHP BASED WEBSITE
PHP 5 and later can work with a MySQL database
using:
•MySQLi extension (the "i" stands for improved)
•PDO (PHP Data Objects)
Earlier versions of PHP used the MySQL
extension.
<?php
$servername = "localhost";
$username = "username";
$password = "password";
// Create connection
$conn = new mysqli($servername, $username,
$password);
// Check connection
if (!$conn) {
die("Connection failed: " .mysqli_error());
}
echo "Connected successfully";
?>
install AMP (Apache, MySQL, PHP) software stack.
AMP’s are available for all operating systems.
Different AMP’s available in market.
• WAMP for Windows
• LAMP for Linux
• MAMP for Mac(Macintosh)
• SAMP for Solaris
• FAMP for FreeBSD
• XAMPP (Cross, Apache, MySQL, PHP, Perl) for Cross
Platform.
XAMPP:
 XAMPP is a free and open source cross platform web
application.
 XAMPP is used for web development on our local
machine.
 XAMPP is an acronym for
X-Cross Platform
A-Apache HttpServer
M-MySQL
P-PHP
P-perl
XAMPP CONTROL APPLICATION PANEL
PHP is an open source scripting language that can be
used to create any website
We can use a number of editing tools while using PHP.
We can create a dynamic website using PHP.
Queries??
Training ppt

More Related Content

What's hot

PHP: Hypertext Preprocessor Introduction
PHP: Hypertext Preprocessor IntroductionPHP: Hypertext Preprocessor Introduction
PHP: Hypertext Preprocessor IntroductionOto Brglez
 
.Net Development Services VS | PHP Development Services
.Net Development Services  VS | PHP Development Services.Net Development Services  VS | PHP Development Services
.Net Development Services VS | PHP Development ServicesWorth Studios Pvt. Ltd.
 
Web development revolution
Web development revolutionWeb development revolution
Web development revolutionAhmed El-Zekred
 
Php course
Php coursePhp course
Php coursebaluja
 
Function of PHP in Website Development
Function of PHP in Website DevelopmentFunction of PHP in Website Development
Function of PHP in Website DevelopmentEffOne_Technologies
 
PHP Interview Questions
PHP Interview QuestionsPHP Interview Questions
PHP Interview QuestionsMaryamAnwar10
 
1. introduction to php and variable
1. introduction to php and variable1. introduction to php and variable
1. introduction to php and variableNurAliaAqilaMuhalis
 
Unit 1-introduction to scripts
Unit 1-introduction to scriptsUnit 1-introduction to scripts
Unit 1-introduction to scriptssana mateen
 
Multi language for php with gettext
Multi language for php with gettextMulti language for php with gettext
Multi language for php with gettextBinh Quan Duc
 
Introduction to scripts
Introduction to scriptsIntroduction to scripts
Introduction to scriptssana mateen
 
PHP and Node.js-Differences and Similarities
PHP and Node.js-Differences and SimilaritiesPHP and Node.js-Differences and Similarities
PHP and Node.js-Differences and SimilaritiesCloud Analogy
 
Chapter 1
Chapter 1Chapter 1
Chapter 1Uma Sam
 
Introduction to perl
Introduction to perlIntroduction to perl
Introduction to perlsana mateen
 

What's hot (20)

PHP: Hypertext Preprocessor Introduction
PHP: Hypertext Preprocessor IntroductionPHP: Hypertext Preprocessor Introduction
PHP: Hypertext Preprocessor Introduction
 
.Net Development Services VS | PHP Development Services
.Net Development Services  VS | PHP Development Services.Net Development Services  VS | PHP Development Services
.Net Development Services VS | PHP Development Services
 
Tech talk webtech
Tech talk webtechTech talk webtech
Tech talk webtech
 
Web development revolution
Web development revolutionWeb development revolution
Web development revolution
 
Php
PhpPhp
Php
 
Php course
Php coursePhp course
Php course
 
Php: An Introduction
Php: An IntroductionPhp: An Introduction
Php: An Introduction
 
Function of PHP in Website Development
Function of PHP in Website DevelopmentFunction of PHP in Website Development
Function of PHP in Website Development
 
Php presentation
Php presentationPhp presentation
Php presentation
 
Php Ppt
Php PptPhp Ppt
Php Ppt
 
PHP Interview Questions
PHP Interview QuestionsPHP Interview Questions
PHP Interview Questions
 
1. introduction to php and variable
1. introduction to php and variable1. introduction to php and variable
1. introduction to php and variable
 
What is PHP?
What is PHP?What is PHP?
What is PHP?
 
Unit 1-introduction to scripts
Unit 1-introduction to scriptsUnit 1-introduction to scripts
Unit 1-introduction to scripts
 
Multi language for php with gettext
Multi language for php with gettextMulti language for php with gettext
Multi language for php with gettext
 
Tech talk: PHP
Tech talk: PHPTech talk: PHP
Tech talk: PHP
 
Introduction to scripts
Introduction to scriptsIntroduction to scripts
Introduction to scripts
 
PHP and Node.js-Differences and Similarities
PHP and Node.js-Differences and SimilaritiesPHP and Node.js-Differences and Similarities
PHP and Node.js-Differences and Similarities
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Introduction to perl
Introduction to perlIntroduction to perl
Introduction to perl
 

Similar to Training ppt

Php hypertext pre-processor
Php   hypertext pre-processorPhp   hypertext pre-processor
Php hypertext pre-processorSiddique Ibrahim
 
Integrating PHP With System-i using Web Services
Integrating PHP With System-i using Web ServicesIntegrating PHP With System-i using Web Services
Integrating PHP With System-i using Web ServicesIvo Jansch
 
PHP Web Development Language.docx
PHP Web Development Language.docxPHP Web Development Language.docx
PHP Web Development Language.docxLoraGoody
 
Introduction to PHP for Building Dynamic Web Applications.pdf
Introduction to PHP for Building Dynamic Web Applications.pdfIntroduction to PHP for Building Dynamic Web Applications.pdf
Introduction to PHP for Building Dynamic Web Applications.pdfvanisha30
 
Online Technical Discussion
Online Technical DiscussionOnline Technical Discussion
Online Technical Discussionkaki garg
 
The i7 Framework for System-i
The i7 Framework for System-iThe i7 Framework for System-i
The i7 Framework for System-iIvo Jansch
 
Unit 1 php_basics
Unit 1 php_basicsUnit 1 php_basics
Unit 1 php_basicsKumar
 
PHP Web Development: Empowering the Digital World
PHP Web Development: Empowering the Digital WorldPHP Web Development: Empowering the Digital World
PHP Web Development: Empowering the Digital Worldcompany
 

Similar to Training ppt (20)

PHP
PHPPHP
PHP
 
Php hypertext pre-processor
Php   hypertext pre-processorPhp   hypertext pre-processor
Php hypertext pre-processor
 
Php ppt
Php pptPhp ppt
Php ppt
 
Php unit i
Php unit i Php unit i
Php unit i
 
Php verses .net
Php verses .netPhp verses .net
Php verses .net
 
PHP programmimg
PHP programmimgPHP programmimg
PHP programmimg
 
Integrating PHP With System-i using Web Services
Integrating PHP With System-i using Web ServicesIntegrating PHP With System-i using Web Services
Integrating PHP With System-i using Web Services
 
24307183 php
24307183 php24307183 php
24307183 php
 
PHP Web Development Language.docx
PHP Web Development Language.docxPHP Web Development Language.docx
PHP Web Development Language.docx
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
Introduction to PHP for Building Dynamic Web Applications.pdf
Introduction to PHP for Building Dynamic Web Applications.pdfIntroduction to PHP for Building Dynamic Web Applications.pdf
Introduction to PHP for Building Dynamic Web Applications.pdf
 
Online Technical Discussion
Online Technical DiscussionOnline Technical Discussion
Online Technical Discussion
 
Word press
Word pressWord press
Word press
 
Programming language
Programming languageProgramming language
Programming language
 
The i7 Framework for System-i
The i7 Framework for System-iThe i7 Framework for System-i
The i7 Framework for System-i
 
Unit 1 php_basics
Unit 1 php_basicsUnit 1 php_basics
Unit 1 php_basics
 
PHP Web Development: Empowering the Digital World
PHP Web Development: Empowering the Digital WorldPHP Web Development: Empowering the Digital World
PHP Web Development: Empowering the Digital World
 
Php
PhpPhp
Php
 
PHP Web Development
PHP Web DevelopmentPHP Web Development
PHP Web Development
 
Php course with live project training in janakpuri, New Delhi
Php course with live project training in janakpuri, New Delhi Php course with live project training in janakpuri, New Delhi
Php course with live project training in janakpuri, New Delhi
 

Recently uploaded

Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)ChandrakantDivate1
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsmeharikiros2
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdfKamal Acharya
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxNANDHAKUMARA10
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...ssuserdfc773
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...ronahami
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesChandrakantDivate1
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelDrAjayKumarYadav4
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxpritamlangde
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfsumitt6_25730773
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information SystemsAnge Felix NSANZIYERA
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 

Recently uploaded (20)

Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 

Training ppt

  • 1. SUBMITTED TO: SUBMITTED BY: Mr. Suneel Kumar Nikita Vijay (HOD of CSE Dept.) B. Tech –VII sem(CSE) A SEMINAR PRESENTATION ON “WEB DEVELOPING USING CORE PHP”
  • 2. Contents  INTRODUCTION  LANGUAGES IN WEB DEVELOPING  PHP  HISTORY OF PHP  WHY I CHOOSE PHP?  CONNECTIVITY TO MYSQL  INSTALLING PHP  INTRODUCTION TO XAMPP  CONCLUSION
  • 3. A website is a collection of related web pages, including multimedia content, typically identified with a common domain name, and published on at least one web server. Web development is a broad term for the work involved in developing a web site for the Internet (World Wide Web) or an intranet (a private network).
  • 4.  So many languages are used in web developing .  For any dynamic website , we use server side scripting languages like PHP, .NET, PYTHON , etc .  The backend is an enabler for frontend .
  • 5. A Diagram Showing Relationship Between Front-End And Back-End
  • 6. PHP is a server-side scripting language. It was created by Rasmus Lerdorf in 1994 . PHP origionally stands for Personal Home Page ,Which now stands for HyperText Preprocessor. Like sql, PHP also Can be directly embedded in HTML page. PHP files can contain CSS,HTML,JavaScript and PHP code. PHP runs on different platforms.
  • 7. BRIEF HISTORY: PHP (PHP: Hypertext Preprocessor) was created by Rasmus Lerdorf in 1994. It was initially developed for HTTP usage logging and server- side form generation iUnix. PHP 2 (1995) transformed the language into a Server-side embedded scripting language. Added database support, file uploads, variables, arrays, recursivefunctions, conditionals, iteration, regular expressions, etc.
  • 8. PHP 3 (1998) added support for ODBC data sources, multiple platform support, email protocols (SNMP,IMAP), and new parser written by Zeev Suraski and Andi Gutmans . PHP 4 (2000) became an independent component of the web server for added efficiency. The parser was renamed the Zend Engine. Many security features were added. PHP 5 (2004) adds Zend Engine II with object oriented programming, robust XML support using the libxml2 library,
  • 10.  Easy to Use.  Cross-platform.  Codes are easily available.  Code is embedded into HTML .  Widely available.  Speed of development.  PHP is compatible with almost all local servers used today like Apache, IIS etc.
  • 12. We can use several of editing tools to build a PHP code. Some of them are given below: Notepad Notepad++ PHP-CPP SublimeText phpDesigner8
  • 13. A PHP CODE (ON NOTEPAD++): Output of the above code:
  • 14. A PHP BASED WEBSITE
  • 15. PHP 5 and later can work with a MySQL database using: •MySQLi extension (the "i" stands for improved) •PDO (PHP Data Objects) Earlier versions of PHP used the MySQL extension.
  • 16. <?php $servername = "localhost"; $username = "username"; $password = "password"; // Create connection $conn = new mysqli($servername, $username, $password); // Check connection if (!$conn) { die("Connection failed: " .mysqli_error()); } echo "Connected successfully"; ?>
  • 17. install AMP (Apache, MySQL, PHP) software stack. AMP’s are available for all operating systems. Different AMP’s available in market. • WAMP for Windows • LAMP for Linux • MAMP for Mac(Macintosh) • SAMP for Solaris • FAMP for FreeBSD • XAMPP (Cross, Apache, MySQL, PHP, Perl) for Cross Platform.
  • 18. XAMPP:  XAMPP is a free and open source cross platform web application.  XAMPP is used for web development on our local machine.  XAMPP is an acronym for X-Cross Platform A-Apache HttpServer M-MySQL P-PHP P-perl
  • 20. PHP is an open source scripting language that can be used to create any website We can use a number of editing tools while using PHP. We can create a dynamic website using PHP.