Mysql database problems. what does this statement mean?

Source: Internet
Author: User
Mysql database problems. what does this statement mean?
$ Query = "select orderid from orders where customerid = $ customerid and amount> ". $ _ SESSION ['total _ price']. "-. 001 and // What does this sentence mean? Amount <". $ _ SESSION ['total _ price']." +. 001 and // What does this mean? Date = '$ date' and order_status = 'partial' and ship_name = '$ ship_name' and ship_address = '$ ship_address' and ship_city = '$ ship_city' and ship_state = '$ ship_state' and ship_zip = '$ ship_zip' and ship_country = '$ ship_country '";


Reply to discussion (solution)

The value of total_price fluctuates up or down by 0.001.

In PHP breakpoint debugging, check the actual content of $ query.

In PHP breakpoint debugging, check the actual content of $ query.


How can I perform breakpoint debugging? Can I debug C/C ++ or PHP ?? Please advise. What is it about floating up or down?

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.