LESSON5-XAMPP Flashcards

1
Q

is a popular cross-platform web server solution stack package developed by Apache Friends, consisting mainly of Apache HTTP Server, MariaDB database (previously MySQL), and interpreters for scripts written in the PHP and Perl programming languages.

A

XAMPP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

is a free and open-source administration tool for MySQL and MariaDB databases.

A

PHPMyAdmin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

simplifies setting up a local web server environment for PHP development. It bundles all the necessary components, including the Apache web server, MySQL database, PHP, and Perl, making it easy to install and configure on various operating systems such as Windows, macOS, and Linux.

A

XAMPP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

is a web-based interface for managing MySQL databases. It provides a userfriendly graphical interface for tasks such as creating, deleting, and modifying databases, tables, and records.
_________ also allows users to execute SQL queries, import and export data, and manage database
users and privileges.

A

PHPMyAdmin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

is a feature used to execute the same (or similar) SQL statements repeatedly with high efficiency.

A

Prepared Statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

involves adding new data entries to the database.

A

Create(Insert)
$sql = “INSERT INTO users (name, email) VALUES (‘$name’, ‘$email’)”;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

involves fetching data from the database and displaying it to users.

A

Read(Retrieve)
$sql = “SELECT * FROM users”;
$result = mysqli_query($conn, $sql);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

allows users to modify existing data entries in the database.

A

Update
$sql = “UPDATE users SET name=’$name’, email=’$email’ WHERE id=$id”;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

involves removing data entries from the database.

A

Delete
$sql = “DELETE FROM users WHERE id=$id”;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Database Connection

A

<?php

$servername='localhost';
$username='root';
$password='';
$dbname = "db_name";
$dbconnect=mysqli_connect($servername,$username,$password,"$dbname");
  if(!$dbconnect){
      die('Could not Connect MySql Server:' . mysqli_connect_error());
    }

?>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly