mysql_error([link_id])
This function returns the text of the error message from the last MySQL operation on the default or specified (link_id) MySQL connection.