eg:
<?php
// ... some code ....
$result = @($sql,$connID);
?>
If thereis is an error, because of the Sql-Syntax or the resource is not valid (or any other error)it will NOT give you an error message printed.
So you can use the "@" character to suppress it. For more information see post above. There you'll have much more Information provided.
ali