Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Mysql_close() d, close_mysql () The symbol (theta). used to suppress error messa

ID: 3831531 • Letter: M

Question

Mysql_close() d, close_mysql () The symbol (theta). used to suppress error messages, is called____ a. supression operates c, null operator b, error control operator d. no_error operator You select a database or change to a different database with the___function. a. mysql_select_database a. c mysql_select_db () b. a. mysql_change_database () d. a. mysql_change_db() To delete a database, use the__function. a. mysql_delete_db (). c mysql_delete_database () b. a. mysql_drop_db () d. a. mysql_drop_database() To add multiple records to a database from an external file, you use the__ statement with the name of the local text file that contains the records you want to add. a. INSERT DATA c. INSERT RECORDS b. LOAD DATA d UPLOAD RECORDS When a query modifies a table but does not return a result, you use the__function to determine how many rows/records were affected. a. mysql_rows_affected c. mysql_affected_records () b. mysql_affected_rows() d. mysql_records_affected() Use the____function to return the number of fields in a query result. a. mysql_return_fields ()c. mysql_count_fields() b. mysql_num_fields() d. mysql_field_results () To set the expire date of a persistent cookie, use PHP's____ function and add to it an integer in seconds to specify when the cookie should be deleted. a. date() c. time () b. expire() d. day () The____argument determines the availability of a cookie to other Web pages on a server. a. secure c. path b. expires d. domain The____argument is used for sharing cookies across multiple servers in the same domain. a. secure c. expires b. domain d. path The ____argument indicates that a cookie can only be transmitted across a secure Internet connection using HTTPS or another security protocol. a. secure c. domain b. expires d. path

Explanation / Answer

79 . b - error control operator :"@" error-control operator prefix will even disable error reporting for critical errors that will terminate script execution

80. c - mysql_select_db :bool mysql_select_db( db_name, connection );

81. d - mysql_drop_database: mysql> drop database `my-database`

82.b - Load data

83. b - mysql_affected_rows : int mysql_affected_rows ([ resource $link_identifier = NULL ] )

84. b - mysql_num_fields():int mysql_num_fields ( resource $result )

85. c- time(): example:setcookie("_GuestID",$userID,time() + (20 * 365 * 24 * 60 * 60));

86. c - path argument

87 b - domain argument

88. a - secure argument