Which PHP function should Ricardo use to return an error message that could then be displayed?

Ricardos boss assigns him to improve the error-handling routine for the company’s PHP
application. The application uses a MySQL database. The application displays the error number,
but without an error message. Which PHP function should Ricardo use to return an error message
that could then be displayed?

Ricardos boss assigns him to improve the error-handling routine for the company’s PHP
application. The application uses a MySQL database. The application displays the error number,
but without an error message. Which PHP function should Ricardo use to return an error message
that could then be displayed?

A.
mysql_errno

B.
mysql_error

C.
mysql_close_error

D.
mysql_query



Leave a Reply 0

Your email address will not be published. Required fields are marked *