Mysql database problem, what does the statement mean

Source: Internet
Author: User
$query = "SELECT OrderID from Orders where                 CustomerID = $customerid and                 amount >". $_session[' Total_price ']. " -.001 and//What do you mean by this sentence?                amount < ". $_session[' Total_price ']." +.001  and//What do you mean by this sentence?                date = ' $date ' and                order_status = ' PARTIAL ' and                ship_name = ' $ship _name ' and                ship_address = ' $ship _addre SS ' and                ship_city = ' $ship _city ' and                ship_state = ' $ship _state ' and                ship_zip = ' $ship _zip ' and                


Reply to discussion (solution)

Total_price value up/down floating 0.001

Check out the actual contents of the $query in the PHP breakpoint debugging.

Check out the actual contents of the $query in the PHP breakpoint debugging.


How to debug breakpoints, I only know that C + + can be debugged, PHP can also?? Please advise. And this is what is up and down floating ah, still do not understand AH
  • 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.