You are using a browser which is not compatible with CSS (for more information, see Tara's tutorial). Because of this, it is possible that our website may not appear correctly in your browser. We apologise for the inconvenience, and recommend you upgrade your browser to one which is compatible with CSS. For more information, please visit our Browser Upgrade page.

4WebHelp

Frequently Asked Questions

Home Suggest a Question

Frequently Asked Questions » PHP: Hypertext Preprocessor
How can I suppress warning/error messages?
In PHP, there is a very useful character which is used to prevent the output of errors or warnings: "@". By putting an @ sign before your command, you are preventing the output of any errors for this command. Here's an example:

<?php
@include('file.php');
?>

Now, if file.php doesn't exist, no error message will be displayed.
This page is © Copyright 2002-2017, 4WebHelp. It may not be reproduced without 4WebHelp's prior permission.