NYCPHP Meetup

NYPHP.org

[nycphp-talk] oci8 bind error

Daniel Convissor danielc at analysisandsolutions.com
Thu Jul 2 23:27:52 EDT 2009


Hi Eric:

> I found my bug (actually my partner found it)- embarrassed to admit it but
> here it is - the sql to parse is being stored in a var called $insSQL and
> the oci_parse is using $insSql (note the QL vs ql)

Ugh! :)

That should have generated a notice saying $insSql is being used before 
being defined.  Are you running with E_NOTICE turned off?  If so, it's 
highly recommended to run error_reporting set to E_ALL, at least in 
development, so you can catch these things right off.

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409



More information about the talk mailing list