faqts : Computers : Programming : Languages : PHP : Database Backed Sites : ODBC

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 5 people (60%) answered Yes
Recently 1 of 3 people (33%) answered Yes

Entry

Why do I get an unable to prepare SQL error?

Sep 16th, 2000 23:46
John Lim, Joe Ammendolia,


At this moment (sept 2000) odbc_prepare is buggy. Avoid using it. Use 
odbc_exec().
You will understnad why if you look at the odbc testing code written by 
the PHP developers: odbc_prepare is *not* even tested...