
PDA Software - Analysis PHP Processing
Presentation
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Tracy Mutter
Used 1+ times
FREE Resource
5 Slides • 0 Questions
1
PHP Processing
PDA Software Development
Analysis & Design
2
PHP
• ‘PHP: Hypertext Pre-processor’ (PHP)is one of several programming
languages that includes instructions for operating on a server to act as
an interface between the web pages written in HTML that the user
sees and SQL databases that they access.
• PHP operations are normally hidden from the user, accepting input by
way of HTML Forms and providing output in the form of HTML code
that is sent to the user's browser for display.
3
PHP
• A ‘.php’ file can contain a mixture of HTML, CSS, JavaScript and
PHP code making them very flexible.
• However, a web browser ignores the PHP code and does not
execute the code.
• Any ‘.php’ file is processed by the server and the results sent to
the user as HTML code.
4
PHP
Most PHP programs follow the same basic sequence:
1. Connect to database
2. Accept name=value pairs from web page and assign to
variables
3. Create SQL query and submit to SQL server
4. Receive results from SQL server
5. Process the results
6. Transmit results to user in a formatted webpage.
5
PHP
Process
1. Connect to database
2. Accept name=value pairs from
web page and assign to
variables
3. Create SQL query and submit
to SQL server
4. Receive results from SQL
server
5. Process the results
6. Transmit results to user in a
formatted webpage.
Set up connection variables
Connect to the Database
Set up query and result variables
WHILE
Retrieve field names (Product Code, Product name, etc.)
DISPLAY field names (Product Code, Product name, etc.)
END WHILE
CLOSE DATABASE
RETURN
Pseudocode
PHP Processing
PDA Software Development
Analysis & Design
Show answer
Auto Play
Slide 1 / 5
SLIDE
Similar Resources on Wayground
6 questions
Tananyag_színek_html
Presentation
•
12th Grade
4 questions
Dreamweaver
Presentation
•
12th Grade
3 questions
Digital Footprint
Presentation
•
11th Grade
6 questions
7. Latihan Dasar MQTT ESP32 Publish
Presentation
•
University
4 questions
The Art of Software Engineering
Presentation
•
University
4 questions
SQL UPDATE Statement
Presentation
•
University
6 questions
How to play Just Dance
Presentation
•
KG
Popular Resources on Wayground
20 questions
Math Review
Quiz
•
3rd Grade
15 questions
Fast food
Quiz
•
7th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
10 questions
Identify Fractions, Mixed Numbers & Improper Fractions
Quiz
•
3rd - 4th Grade
Discover more resources for Computers
10 questions
Fact Check Ice Breaker: Two truths and a lie
Quiz
•
5th - 12th Grade
10 questions
Video Games
Quiz
•
6th - 12th Grade
15 questions
Memorial Day Trivia
Quiz
•
KG - 12th Grade
12 questions
Name that Candy
Quiz
•
KG - 12th Grade
22 questions
Regular Preterite -AR-ER-IR-
Quiz
•
12th Grade
20 questions
Guess The App
Quiz
•
KG - Professional Dev...
30 questions
K/H Final Review Part 1
Quiz
•
9th - 12th Grade
40 questions
NCFE Earth and Environmental Science Released Test
Quiz
•
9th - 12th Grade