what are reasons for showing PHP Fatal error: Cannot use object of type DB_Error as array while running a php script?
<p>what are reasons for showing:</p>

<blockquote>
  <p>PHP Fatal error:  Cannot use object of type DB_Error as array </p>
</blockquote>

<p>while running a php script?</p>

<p>I received this error on a line while running a php page and I want to know the situations that could produce the above error condition?</p>
