From: Stefan C. <sch...@ea...> - 2003-10-28 07:37:12
|
I'm still working and came across something very strange. When inserting a new survey in the DB (INSERT INTO survey ...), ODBC _does_ insert the new row in the survey table successfully BUT complains about "duplicate keys" (there are clearly no such duplicates). This happens when I do a sequence of odbc_prepare/odbc_execute statement. However, if I use an odbc_exec (which automatically does the prepare), everything is just fine. I'm clueless. To say it more technically, odbc_execute( odbc_prepare( $sql)) seems diffferent of odbc_exec( $sql). I'll try to dig the PHP source if I find some spare time... stF |