escape php postgresql single php postgresql escape single quote Lets use the double single quote to escape a string with a single quote. Addslashes must not be used with PostgreSQL. … Monday, May 30, 2022 Edit