Welcome Guest, Not a member yet? Register   Sign In
[SOLUTION] Problem in OCI8 DB driver
#3

[eluser]tedroche[/eluser]
[quote author="Kobus M" date="1296759976"]


Code:
$str = remove_invisible_characters($str);
        $str = str_replace("'", "''", $str);
[/quote]

I added the same change to the ODBC driver, as I'm using it to write to SQL Server and seeing the same problem with unescaped single-quotes throwing syntax errors.


Messages In This Thread
[SOLUTION] Problem in OCI8 DB driver - by El Forum - 02-03-2011, 07:04 AM
[SOLUTION] Problem in OCI8 DB driver - by El Forum - 02-03-2011, 07:06 AM
[SOLUTION] Problem in OCI8 DB driver - by El Forum - 02-17-2011, 01:39 PM
[SOLUTION] Problem in OCI8 DB driver - by El Forum - 02-20-2011, 09:50 PM
[SOLUTION] Problem in OCI8 DB driver - by El Forum - 02-21-2011, 09:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB