PHP addslashes() Function
In this article, you will learn; How to add backslashes to the string. Making the database unsafe queires safe by using slashes. The PHP addslashes() method puts the backslashes in front of the following defined characters. single quote (‘) double quote (“) backslash (\) NULL When a backslash is added to the above-defined characters, they …