MySql with PHP Basic MCQ

Programming Language > PHP

This is the MCQ questions and answers section on "MySQL Basics" with an explanation for various interview, competitive examination and entrance test. Solved examples with detailed answer description, explanation are given and it would be easy to understand. ➲ MySql with PHP Basic MCQ - Quiz


  • A PHP 5.0
  • B PHP 5.1
  • C PHP 5.2
  • D PHP 5.3
  • A extension=php_mysqli.dll
  • B extension=mysql.dll
  • C extension=php_mysqli.dl
  • D extension=mysqli.dl
  • A MySQL
  • B mysql
  • C mysqli
  • D mysqly
  • A CREATE TABLE table_name (column_name column_type);
  • B CREATE table_name (column_type column_name);
  • C CREATE table_name (column_name column_type);
  • D CREATE TABLE table_name (column_type column_name);
  • A $mysqli = new mysqli()
  • B $mysqli = new mysqli()
  • C $mysqli->new.mysqli()
  • D mysqli->new.mysqli()
  • A TRUE
  • B FALSE
  • C Empty String
  • D 0
  • A errno()
  • B errnumber()
  • C errorno()
  • D errornumber()
  • A $mysqli=select_db(
  • B mysqli=select_db(
  • C mysqli->select_db(
  • D $mysqli->select_db(
  • A connect_errno()
  • B connect_error()
  • C mysqli_connect_errno()
  • D mysqli_connect_error()
  • A MySQL 4.0
  • B MySQL 4.1
  • C MySQL 4.2
  • D MySQL 4.3
  • A bind_param()
  • B bind_result()
  • C bound_param()
  • D bound_result()
  • A end()
  • B finish()
  • C final()
  • D close()
  • A get_row()
  • B fetch_row()
  • C fetch()
  • D row()
  • A commit()
  • B undo()
  • C back()
  • D rollback()
  • A num_rows()
  • B affected_rows()
  • C changed_rows()
  • D new_rows()
  • A get_array() and get_row()
  • B get_array() and get_column()
  • C fetch_array() and fetch_row()
  • D fetch_array() and fetch_column()
  • A destroy()
  • B remover()
  • C alloc()
  • D free()
  • A query()
  • B send_query()
  • C sendquery()
  • D query_send()
  • A #include
  • B include