Thursday, 15 May 2014

sql - Sybase update column with value starting with two asterisk's in PHP -


SQL update fails, when a new value starts with a continuous two asterisks. Using PPP with an OBBC connection from a Sybase database.

This fails without the following PHP errors or warnings:

  $ this-> Db- & gt; Query ("UPDATE my_table SET my_column = '** new_value' WHERE id = '$ id'");  

However, it works correctly when the value does not start with two asterisks.


No comments:

Post a Comment