To disable error output in your script, use:
error_reporting (0);
Remember that you need to call this function before starting any PHP directives.
You can also use this code in the .htaccess file to disable error output:
php_flag display_errors off