If I use any of the PHP-Mysql-Routines (i.e. mysql_db_query($db,$query,$link)) i would check after if the statement is terminated by an error or not! If any error is retrieved i would print a HTML-Page with the error-message. How can i do this? Can I use - and how do I use - the functions mysql_errno() and mysql_error()??