Hi All,
May be this is not the right place to post this query as my problem is not exactly a database issue.
I have a form on which user inputs some data. On post I collect the data using $HTTP_POST_VARIABLE['xxx']. Now if the data has a single quote ( ' ) in the string the data contained in the returned string is ( \' ). This causes a problem for me as the ( \ ) backslash gets inserted into the database. I tried ereg_replace to replace the \' with '' but to no avail...
Can somebody out there help me on this.
Thanx in advance
Ash
May be this is not the right place to post this query as my problem is not exactly a database issue.
I have a form on which user inputs some data. On post I collect the data using $HTTP_POST_VARIABLE['xxx']. Now if the data has a single quote ( ' ) in the string the data contained in the returned string is ( \' ). This causes a problem for me as the ( \ ) backslash gets inserted into the database. I tried ereg_replace to replace the \' with '' but to no avail...
Can somebody out there help me on this.
Thanx in advance
Ash