Hello with all.
Here my concern: I have a data base on Amen, and a form on a site , in the direction or the adjustments PHP magic_quote and others are OFF (it is significant for the continuation.).
I seized of the data in my tables like:
O\' Reilly, Jean Richard\' S, etc...
Notice the antislashe before the apostrophe, to prevent that Mysql goes crazy.
Now, the problem:
In my form of research, if I type: O' Reilly, it says to me that there is an error because of the apostrophe.
I thus use the function:
$query = addslashes($query);
but nothing made there, it says to me that it does not find: O\' Reilly, in short it is the brothel and does not find me there;
I tried to find a solution on the Net, and apparently I am not only in this case...
How to make then to be able to carry out a request of the type: O' Reilly?
If I must modify seized of my data, how to make?
And how to recover the value treated without antislashes in the field of request?
With my thanks, Marc-André