How do I escape strings in PHP to pass binary data to a table via an insert or update statement ?
This is on the back of my previous question, it would be important for Cubrid to have a similar function to mysql_escape_string for passing of binary information to an SQL statement.
How should I do this in the interim, I have already done the normal replace single quotes with double single quotes.
mysql_escape_string() function has been deprecated as of PHP 5.3. mysql_real_escape_string() should be used instead.
In CUBRID PHP API there is a compatible cubrid_real_escape_string() function to escape strings. You can use it.