


How to type double quotes. How to prevent single quotes in PHP and how to escape double quotes on the accept page.
Jul 29, 2016 am 08:38 AMIf you do not want the following situation to occur in the PHP page:
Single quotes are escaped as '
Double quotes are escaped as "
Then you can make the following settings to prevent:
Method 1: Set: magic_quotes_gpc = Off in PHP.ini
Method 2: $str=stripcslashes($str)
The above introduces how to type double quotation marks, how to prevent single quotation marks in PHP, and how to set double quotation marks to escape on the accepting page, including how to type double quotation marks. I hope it will be helpful to friends who are interested in PHP tutorials.

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

11 Best PHP URL Shortener Scripts (Free and Premium)

Working with Flash Session Data in Laravel

Build a React App With a Laravel Back End: Part 2, React

Simplified HTTP Response Mocking in Laravel Tests

cURL in PHP: How to Use the PHP cURL Extension in REST APIs

12 Best PHP Chat Scripts on CodeCanyon
