title: Suppress PHP error from a odbc_connect call
body: <p>Let's say I do a odbc_connect call, deliberately using erroneous information, as follows:   </p>
  
  <pre><code>&lt;?PHP odbc_connect('bogus','bogus','bogus'); ?&gt;
  </code></pre>
  
  <p>Now, <a href="http://php.net/manual/en/function.odbc-connect.php" rel="nofollow noreferrer">the manual</a> states that odbc_connect "[r]eturns an ODBC connection id or 0 (FALSE) on error". I'm okay with the 0 being returned, but when I'm running the file (using <a href="http://www.wampserver.com/en/" rel="nofollow noreferrer">Wampserver</a>), I also receive error messages telling me that something went wrong.</p>
  
  <p>I would like to suppress this error message, since I'm <a href="https://stackoverflow.com/questions/12061825/try-different-odbc-connect-calls">trying to build a PHP file</a> that only echoes a certain piece of text, like "unsuccessful", when the information for the database call was wrong.</p>