Exam 8: Manipulating Mysql Databases With Php

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

You can suppress error message by using the error control operator (%).

(True/False)
4.8/5
(31)

The mysqli (____________________) package became available with PHP 5 and is designed to work with MySQL version 4.1.3 and above.

(Short Answer)
4.8/5
(31)

The mysql_query() function returns a result pointer that represents the query results when the SELECT or SHOW statement which returns a resultset.

(True/False)
4.9/5
(32)

When you add records to a table that includes an AUTO_INCREMENT field, you omit the column name and value from the lists.

(True/False)
4.9/5
(39)

With queries that return results, such as SELECT queries, you can use the mysql_num_rows() function to find the number of records returned from a query.

(True/False)
4.9/5
(48)

How you enable MySQL support in PHP depends on the version of PHP and how you installed MySQL.

(True/False)
4.8/5
(33)

The mysql_errno() function returns the ____________________ code of an error.

(Short Answer)
4.8/5
(45)

To return information about the MySQL database server version, use the ____ function.

(Multiple Choice)
4.9/5
(29)

When a query modifies a table but does not return a result, you use the ___ function to determine how many rows/records were affected.

(Multiple Choice)
4.8/5
(36)

You can use the mysql_select_db() function to select a database or change to a different database.

(True/False)
4.8/5
(41)

To delete a database, you use the ____________________ function.

(Short Answer)
4.8/5
(45)

The PRIMARY KEY keywords are used to generate a unique id for each new row in a table.

(True/False)
4.8/5
(38)

Use the _________________________ function to determine the number of rows affected by an INSERT statement.

(Short Answer)
4.8/5
(35)

You use the mysql_num_fields() function to return the number of _______________ in a query result.

(Short Answer)
4.8/5
(38)

In PHP, use the mysql_query() function to send SQL statements to ____________________.

(Short Answer)
4.7/5
(40)

To open a connection to a MySQL database server, use ____.

(Multiple Choice)
4.9/5
(41)

When ,mysql_query() returns a resultset, you use the ____ function to determine the number of records in the resultset.

(Multiple Choice)
4.7/5
(27)

The query pointer is a way of keeping track of where you are in a resultset.

(True/False)
4.9/5
(34)

With queries that modify tables, but do not return results, such as INSERT, UPDATE, and DELETE queries, you use the mysql_modified_rows() function to determine the number of changed rows.

(True/False)
4.8/5
(40)

The PHP Extension and Application Representation (PEAR) is a committee that oversees the open source PHP code.

(True/False)
4.9/5
(40)
Showing 61 - 80 of 84
close modal

Filters

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