If a MySQL database error occurs, no error is displayed to the user. The developer doesn't know that an error occured. The user just sees blank stuff. Print an error that is useful to both the developer and user.