Exam 8: Manipulating Mysql Databases With Php

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

To prevent code from trying to create a table that already exists, use the SHOW EXISTING TABLES command.

(True/False)
4.9/5
(45)

To close the resultset, use ____.

(Multiple Choice)
4.8/5
(33)

The mysql_fetch_row() function returns the fields in the current row of a resultset into an indexed array and moves the result pointer to the next row.

(True/False)
4.9/5
(47)

The first record added to a table that has an auto-incrementing primary key will be assigned a value of 0.

(True/False)
4.9/5
(36)

To update records in a table, use the UPDATE, SET, and WHERE keywords with the mysql_query() function.

(True/False)
4.8/5
(44)

The mysql_connect() function returns a ____________________ as an integer if it connects successfully to a database or a Boolean FALSE if it doesn't.

(Short Answer)
4.9/5
(34)

To delete a table, use the ____________________ statement with the mysql_query() function.

(Short Answer)
4.9/5
(38)

You select a database or change to a different database with the ____ function.

(Multiple Choice)
4.8/5
(42)

The ___ keyword, often used with the primary key, requires that the field include a value.

(Multiple Choice)
4.9/5
(30)

The mysql_free_result() function ____________________ the resultset.

(Short Answer)
4.7/5
(45)

Because the client and server are defined in relation to MySQL, the Web server where the PHP script is running is the ____________________ when communicating with the MySQL server.

(Short Answer)
4.9/5
(36)

The first field created using the AUTO_INCREMENT keyword is assigned a value of ____________________.

(Short Answer)
4.9/5
(42)

The symbol (@), used to suppress error messages, is called ____.

(Multiple Choice)
4.9/5
(44)

The ____________________ function returns the number of operations for various types of actions, depending on the type of query.

(Short Answer)
4.8/5
(40)

The function ____ returns the fields in the current row into an indexed array.

(Multiple Choice)
4.7/5
(36)

The ____________________ is a special type of variable that refers to the currently selected row in records returned by MySQL.

(Short Answer)
4.7/5
(36)

The function ____ returns the fields in the current row of a resultset into an associative array and moves the result pointer to the next row.

(Multiple Choice)
4.8/5
(36)

The list of records that is returned from a mysql_query() is a called a ____.

(Multiple Choice)
4.8/5
(32)

The mysql_info() function returns the number of operations for various types of actions, depending on the type of query.

(True/False)
4.8/5
(36)

Although they perform similar functions, PEAR DB is designed specifically to work with PHP and ____________________ is a more generic protocol used by many programming languages and database management systems.

(Short Answer)
4.7/5
(43)
Showing 41 - 60 of 84
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)