PHP and MySQL

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/26

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:16 PM on 4/21/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

27 Terms

1
New cards

PHP (Hypertext Preprocessor)

An open-source scripting language used to create dynamic web pages and can be embedded in HTML.

2
New cards

MySQL

An open-source relational database management system used to store and manage data.

3
New cards

echo

A PHP statement used to output text to the browser.

4
New cards

mysqli

A PHP extension used to connect and interact with a MySQL database.

5
New cards

Connection (Database)

The process of linking PHP to a MySQL database using credentials.

6
New cards

$conn

A variable commonly used to store the database connection object.

7
New cards

connect_error

A property used to check if there is an error in the database connection.

8
New cards

die()

A PHP function that stops script execution and displays a message.

9
New cards

SQL (Structured Query Language)

A language used to communicate with and manage databases.

10
New cards

CRUD Operations

Basic database operations: Create, Read, Update, and Delete

11
New cards

INSERT

An SQL command used to add new records into a table.

12
New cards

SELECT

An SQL command used to retrieve data from a database.

13
New cards

query()

A method used to execute SQL statements in MySQL using PHP.

14
New cards

TRUE

A boolean value indicating a successful operation.

15
New cards

$sql

A variable used to store an SQL query statement.

16
New cards

num_rows

A property used to check the number of rows returned by a query.

17
New cards

fetch_assoc()

A method used to fetch a result row as an associative array.

18
New cards

$row

A variable used to store a single row of data from the database.

19
New cards

while loop (PHP)

A loop used to repeatedly execute code while a condition is true.

20
New cards

Form Handling

The process of collecting and processing user input using PHP.

21
New cards

Validation

Ensuring that user input is correct and complete.

22
New cards

Sanitization

Cleaning user input to prevent security risks.

23
New cards

Session

A way to store user data across multiple pages.

24
New cards

SQL Injection

A security vulnerability where malicious SQL code is inserted into queries.

25
New cards

XSS (Cross-Site Scripting)

A security vulnerability where malicious scripts are injected into web pages.

26
New cards

Prepared Statements

A secure way of executing SQL queries to prevent SQL injection.

27
New cards

File Uploads

The process of sending files from a user to the server using PHP.