SlideShare a Scribd company logo
1 of 6
Web and Database
Integration
Server Side Scripting Requirements
 PHP is a server-side scripting language which is similar to JavaScript as it
allows you to embed little programs (scripts) into the HTML of web page.
 The difference between PHP and JavaScript is that when the web browser
interprets JavaScript the scripts are downloaded whereas a web page
containing PHP will be interpreted before the page is sent to the browser.
 PHP Scripts consists of statements, each of which is an instruction the web
server must follow before moving onto the next one.
 Each PHP statement is terminated by a semicolon.
PHP Syntax, Variables, Requirements, Control
Structures and Multi-Purpose Pages
 PHP Scripts consists of statements, each of which is an instruction the web
server must follow before moving onto the next one.
 Each PHP statement is terminated by a semicolon.
 Variables in PHP are the same as other programming languages – same types
of variables, standard arithmetic operations and use of arrays.
 Statements in PHP are called control structures.
 Loops -IF/ELSE, FOR and WHILE are used in PHP statements as control
structures.
 PHP allows one pages to serve more than one purpose, for example, a web
page that displays information and contains a site counter.
Connecting to Database
 To connect to a database server, the following is required:
 Server, IP address or name of the server on which the database server software is
running.
 Username and password, required to connect to the database server.
 Name of the database stored on the database server that you want to connect to.
 Queries can then be executed on the connected database to retrieve
information.
 The result set from the query is provided as an object.
Editing and Amending Data
 Data needs to be displayed in a suitable format before it can be edited:
 Amending details – Updates the displayed information
 Deleting – Displayed information can be deleted when no longer required.
What you need to know…
 Connect to a database to process data.
 Read and write data, to and from a database.
 Be able to insert, amend and deletion queries.
 Process a form using server-side scripting.

More Related Content

What's hot (19)

Data programing
Data programingData programing
Data programing
 
Web Programming - 7 Blading Template
Web Programming - 7 Blading TemplateWeb Programming - 7 Blading Template
Web Programming - 7 Blading Template
 
Database presentation
Database presentationDatabase presentation
Database presentation
 
Introduction To Website Development
Introduction To Website DevelopmentIntroduction To Website Development
Introduction To Website Development
 
Web Programming - 8 Database, Model and Eloquent
Web Programming - 8 Database, Model and EloquentWeb Programming - 8 Database, Model and Eloquent
Web Programming - 8 Database, Model and Eloquent
 
Web Programming - 4 Route, View, and Controller
Web Programming - 4 Route, View, and ControllerWeb Programming - 4 Route, View, and Controller
Web Programming - 4 Route, View, and Controller
 
Webttl
WebttlWebttl
Webttl
 
Java Database Connectivity
Java Database ConnectivityJava Database Connectivity
Java Database Connectivity
 
Soa 11 representational state transfer rest
Soa 11 representational state transfer restSoa 11 representational state transfer rest
Soa 11 representational state transfer rest
 
Mule MMC Integration with LDAP
Mule MMC Integration with LDAPMule MMC Integration with LDAP
Mule MMC Integration with LDAP
 
State management in asp.net
State management in asp.netState management in asp.net
State management in asp.net
 
Web 13 | REST API
Web 13 | REST APIWeb 13 | REST API
Web 13 | REST API
 
Rest introduction
Rest introductionRest introduction
Rest introduction
 
Database connectivity in ci
Database connectivity in ciDatabase connectivity in ci
Database connectivity in ci
 
Jdbc drivers
Jdbc driversJdbc drivers
Jdbc drivers
 
Cake PHP
Cake PHPCake PHP
Cake PHP
 
Filemaker Pro in the Pre-Media environment
Filemaker Pro in the Pre-Media environmentFilemaker Pro in the Pre-Media environment
Filemaker Pro in the Pre-Media environment
 
Prasant_nayak_IBM_3Yr_Exp
Prasant_nayak_IBM_3Yr_ExpPrasant_nayak_IBM_3Yr_Exp
Prasant_nayak_IBM_3Yr_Exp
 
state managment
state managment state managment
state managment
 

Viewers also liked (10)

Programming Paradigm
Programming ParadigmProgramming Paradigm
Programming Paradigm
 
Standard Algorithms
Standard AlgorithmsStandard Algorithms
Standard Algorithms
 
Project management
Project managementProject management
Project management
 
Linked Lists
Linked ListsLinked Lists
Linked Lists
 
File handling
File handlingFile handling
File handling
 
Web database application
Web database applicationWeb database application
Web database application
 
Audio Compression
Audio CompressionAudio Compression
Audio Compression
 
Web Pages
Web PagesWeb Pages
Web Pages
 
ISDD Media Types - File Compression
ISDD Media Types - File CompressionISDD Media Types - File Compression
ISDD Media Types - File Compression
 
ISDD Standard File Formats
ISDD Standard File FormatsISDD Standard File Formats
ISDD Standard File Formats
 

Similar to Database and Web Integration

Server Side Programming
Server Side ProgrammingServer Side Programming
Server Side ProgrammingMilan Thapa
 
Website development courses
Website development coursesWebsite development courses
Website development coursesOSK IT SOLUTION
 
Anvita Gita Supersite Case Study Nov2000
Anvita   Gita Supersite Case Study Nov2000Anvita   Gita Supersite Case Study Nov2000
Anvita Gita Supersite Case Study Nov2000guest6e7a1b1
 
Trusted PHP Development Services in the USA
Trusted PHP Development Services in the USATrusted PHP Development Services in the USA
Trusted PHP Development Services in the USAtechnoprofiles
 
How to Convert Static Website to Dynamic in Php.pdf
How to Convert Static Website to Dynamic in Php.pdfHow to Convert Static Website to Dynamic in Php.pdf
How to Convert Static Website to Dynamic in Php.pdfIndian Website Company
 
Semantic Web Servers
Semantic Web ServersSemantic Web Servers
Semantic Web Serverswebhostingguy
 
Application server vs Web Server
Application server vs Web ServerApplication server vs Web Server
Application server vs Web ServerGagandeep Singh
 
PHP Training In Ambala! BATRA COMPUTER CENTRE
PHP Training In Ambala! BATRA COMPUTER CENTREPHP Training In Ambala! BATRA COMPUTER CENTRE
PHP Training In Ambala! BATRA COMPUTER CENTREjatin batra
 
chapter 5 Server-Side Scripting (PHP).pdf
chapter 5 Server-Side Scripting (PHP).pdfchapter 5 Server-Side Scripting (PHP).pdf
chapter 5 Server-Side Scripting (PHP).pdfburasyacob012
 
Lecture 1 - Introduction.pptx
Lecture 1 - Introduction.pptxLecture 1 - Introduction.pptx
Lecture 1 - Introduction.pptxKhalilAhmed352943
 
Module-3 15CS71-WTA-Serverside Development with PHP
Module-3 15CS71-WTA-Serverside Development with PHPModule-3 15CS71-WTA-Serverside Development with PHP
Module-3 15CS71-WTA-Serverside Development with PHPSIVAKUMAR V
 

Similar to Database and Web Integration (20)

Server Side Programming
Server Side ProgrammingServer Side Programming
Server Side Programming
 
Servlet & jsp
Servlet  &  jspServlet  &  jsp
Servlet & jsp
 
Web technology
Web technologyWeb technology
Web technology
 
Website development courses
Website development coursesWebsite development courses
Website development courses
 
C# web api
C# web apiC# web api
C# web api
 
Anvita Gita Supersite Case Study Nov2000
Anvita   Gita Supersite Case Study Nov2000Anvita   Gita Supersite Case Study Nov2000
Anvita Gita Supersite Case Study Nov2000
 
Implementation web api
Implementation web apiImplementation web api
Implementation web api
 
SharePoint Administration
SharePoint AdministrationSharePoint Administration
SharePoint Administration
 
PHP Basics
PHP BasicsPHP Basics
PHP Basics
 
PHP
PHPPHP
PHP
 
4 Basic PHP
4 Basic PHP4 Basic PHP
4 Basic PHP
 
Trusted PHP Development Services in the USA
Trusted PHP Development Services in the USATrusted PHP Development Services in the USA
Trusted PHP Development Services in the USA
 
How to Convert Static Website to Dynamic in Php.pdf
How to Convert Static Website to Dynamic in Php.pdfHow to Convert Static Website to Dynamic in Php.pdf
How to Convert Static Website to Dynamic in Php.pdf
 
Semantic Web Servers
Semantic Web ServersSemantic Web Servers
Semantic Web Servers
 
Rest web service
Rest web serviceRest web service
Rest web service
 
Application server vs Web Server
Application server vs Web ServerApplication server vs Web Server
Application server vs Web Server
 
PHP Training In Ambala! BATRA COMPUTER CENTRE
PHP Training In Ambala! BATRA COMPUTER CENTREPHP Training In Ambala! BATRA COMPUTER CENTRE
PHP Training In Ambala! BATRA COMPUTER CENTRE
 
chapter 5 Server-Side Scripting (PHP).pdf
chapter 5 Server-Side Scripting (PHP).pdfchapter 5 Server-Side Scripting (PHP).pdf
chapter 5 Server-Side Scripting (PHP).pdf
 
Lecture 1 - Introduction.pptx
Lecture 1 - Introduction.pptxLecture 1 - Introduction.pptx
Lecture 1 - Introduction.pptx
 
Module-3 15CS71-WTA-Serverside Development with PHP
Module-3 15CS71-WTA-Serverside Development with PHPModule-3 15CS71-WTA-Serverside Development with PHP
Module-3 15CS71-WTA-Serverside Development with PHP
 

More from SabahtHussein

More from SabahtHussein (20)

S3 HTML Hyperlinks and Images
S3 HTML Hyperlinks and ImagesS3 HTML Hyperlinks and Images
S3 HTML Hyperlinks and Images
 
S3 HTML Lists and Tables
S3 HTML Lists and TablesS3 HTML Lists and Tables
S3 HTML Lists and Tables
 
S3 HTML Structure and Formatting
S3 HTML Structure and FormattingS3 HTML Structure and Formatting
S3 HTML Structure and Formatting
 
S3 HTML Introduction
S3 HTML IntroductionS3 HTML Introduction
S3 HTML Introduction
 
S1 Programming Lesson 1
S1 Programming Lesson 1S1 Programming Lesson 1
S1 Programming Lesson 1
 
S1 Web Development
S1 Web DevelopmentS1 Web Development
S1 Web Development
 
Video Games Development
Video Games DevelopmentVideo Games Development
Video Games Development
 
S2 Data Types
S2 Data TypesS2 Data Types
S2 Data Types
 
Introduction to Pseudocode
Introduction to PseudocodeIntroduction to Pseudocode
Introduction to Pseudocode
 
S3 SQL
S3 SQLS3 SQL
S3 SQL
 
Query Design
Query DesignQuery Design
Query Design
 
SQL PT
SQL PTSQL PT
SQL PT
 
Query design
Query designQuery design
Query design
 
S3 Field Types
S3 Field TypesS3 Field Types
S3 Field Types
 
Testing a Database
Testing a DatabaseTesting a Database
Testing a Database
 
Testing a Database
Testing a DatabaseTesting a Database
Testing a Database
 
Database Testing and Evaluation
Database Testing and EvaluationDatabase Testing and Evaluation
Database Testing and Evaluation
 
DPA and GDPR
DPA and GDPRDPA and GDPR
DPA and GDPR
 
Database Analysis
Database AnalysisDatabase Analysis
Database Analysis
 
Database Analysis
Database AnalysisDatabase Analysis
Database Analysis
 

Recently uploaded

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 

Recently uploaded (20)

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 

Database and Web Integration

  • 2. Server Side Scripting Requirements  PHP is a server-side scripting language which is similar to JavaScript as it allows you to embed little programs (scripts) into the HTML of web page.  The difference between PHP and JavaScript is that when the web browser interprets JavaScript the scripts are downloaded whereas a web page containing PHP will be interpreted before the page is sent to the browser.  PHP Scripts consists of statements, each of which is an instruction the web server must follow before moving onto the next one.  Each PHP statement is terminated by a semicolon.
  • 3. PHP Syntax, Variables, Requirements, Control Structures and Multi-Purpose Pages  PHP Scripts consists of statements, each of which is an instruction the web server must follow before moving onto the next one.  Each PHP statement is terminated by a semicolon.  Variables in PHP are the same as other programming languages – same types of variables, standard arithmetic operations and use of arrays.  Statements in PHP are called control structures.  Loops -IF/ELSE, FOR and WHILE are used in PHP statements as control structures.  PHP allows one pages to serve more than one purpose, for example, a web page that displays information and contains a site counter.
  • 4. Connecting to Database  To connect to a database server, the following is required:  Server, IP address or name of the server on which the database server software is running.  Username and password, required to connect to the database server.  Name of the database stored on the database server that you want to connect to.  Queries can then be executed on the connected database to retrieve information.  The result set from the query is provided as an object.
  • 5. Editing and Amending Data  Data needs to be displayed in a suitable format before it can be edited:  Amending details – Updates the displayed information  Deleting – Displayed information can be deleted when no longer required.
  • 6. What you need to know…  Connect to a database to process data.  Read and write data, to and from a database.  Be able to insert, amend and deletion queries.  Process a form using server-side scripting.