To escape ', such as O'reilly, most databases do this with a \ which would mean O\'reilly.
But some databases ask to escape the ' with ''.
1) So escape ' with \' or '' depends on which database you use?
2) if the database ask to escape ' with '', i cannot use the addslashes to do the escape job?
Could someone advise here?
Thanks!