Php programming tips-php Tutorial

Source: Internet
Author: User
What is the significance of writing this question in php programming? How to parse the quotation marks.


Reply to discussion (solution)

A double quotation mark is enclosed between two single quotes. if $ id = 23, the echo $ id result is "23"
In MYSQL, if the id field is a string, $ id must be enclosed by quotation marks.



A double quotation mark is enclosed between two single quotes. if $ id = 23, the echo $ id result is "23"
In MYSQL, if the id field is a string, $ id must be enclosed by quotation marks.


Id. Echo I understand. put $ id = '"'. $ ID'" 'in an SQL statement. what is the single double quotation mark?

Amount, wrong expression

The problem is fixed. In fact, the question is injected.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.