
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
Java + SQL Final
Presentation
•
University
5 questions
Planung Aufbau und Konfiguration 1b
Presentation
•
KG - University
6 questions
Using Commas in Numbers, Addresses, and Letters
Presentation
•
12th Grade
6 questions
Revision up to higher abstraction 4th GL
Presentation
•
12th Grade
7 questions
Python Basics
Presentation
•
12th Grade
6 questions
Diapositiva de Cevallos
Presentation
•
KG - University
6 questions
Web Technologies
Presentation
•
University
6 questions
ASJ XI TKJ | 3.7 Mengevaluasi DNS Server
Presentation
•
11th Grade
Popular Resources on Wayground
20 questions
STAAR Review Quiz #3
Quiz
•
8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
6 questions
Marshmallow Farm Quiz
Quiz
•
2nd - 5th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
12 questions
What makes Nebraska's government unique?
Quiz
•
4th - 5th Grade
Discover more resources for Computers
20 questions
Grammar
Quiz
•
9th - 12th Grade
31 questions
Easter Trivia
Quiz
•
KG - 12th Grade
16 questions
Circles - Equations, Central & Inscribed Angles
Quiz
•
9th - 12th Grade
46 questions
Unit 4 Geosphere Test Review
Quiz
•
9th - 12th Grade
30 questions
TSI Writing/Revising and Editing Practice Test
Quiz
•
12th Grade
10 questions
Climate Change and Its Impact
Interactive video
•
9th - 12th Grade
35 questions
Venn Diagrams, Theoretical, & Experimental Review
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade