Która funkcja w PHP jest używana do nawiązania połączenia z bazą danych MySQL?

Quiz o PHP i MySQL

Quiz
•
Other
•
12th Grade
•
Medium
Marcin Gerwatowski
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a) mysql_connect()
b) mysqli_connect()
c) db_connect()
d) connect_db()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Która funkcja w PHP wykonuje zapytanie SQL na bazie danych MySQL?
a) mysql_query()
b) mysqli_query()
c) db_query()
d) execute_query()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Która funkcja w PHP jest używana do rozpoczęcia transakcji w MySQL?
a) mysqli_begin_transaction()
b) mysqli_start_transaction()
c) mysqli_autocommit(FALSE)
d) mysqli_transaction_begin()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Która funkcja w PHP zwraca liczbę wierszy zwróconych przez zapytanie SELECT w MySQL?
a) mysqli_num_rows()
b) mysql_num_rows()
c) db_num_rows()
d) get_num_rows()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Która funkcja w PHP jest używana do wykonania zapytania SQL z przygotowanymi instrukcjami w MySQL?
a) mysqli_stmt_prepare()
b) mysqli_stmt_execute()
c) mysqli_prepare()
d) mysqli_execute()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Która funkcja w PHP jest używana do zamknięcia połączenia z bazą danych MySQL?
a) mysql_close()
b) mysqli_close()
c) db_close()
d) close_db()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Która funkcja w PHP służy do ustawiania trybu raportowania błędów w połączeniu MySQLi?
a) mysqli_report()
b) mysqli_set_error_mode()
c) mysqli_error_reporting()
d) mysqli_set_report_mode()
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
Sztuka renesansu

Quiz
•
12th Grade
12 questions
Milionerzy

Quiz
•
1st Grade - Professio...
8 questions
Kraina Lodu

Quiz
•
KG - Professional Dev...
8 questions
Siły Zbrojne Rzeczypospolitej Polskiej

Quiz
•
10th Grade - Professi...
15 questions
Bajkowy quiz

Quiz
•
6th - 12th Grade
15 questions
Podstawy reklamy

Quiz
•
KG - 12th Grade
10 questions
Marvel i jego bohaterowie

Quiz
•
1st - 12th Grade
8 questions
Narkotyki - sprawdź jak dużo o nich wiesz

Quiz
•
1st Grade - Professio...
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Other
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade
45 questions
Week 3.5 Review: Set 1

Quiz
•
9th - 12th Grade