您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

Mysql 数据库有关问题,该语句是什么意思

2025/12/3 15:42:47发布30次查看
mysql 数据库问题,该语句是什么意思
$query = select orderid from orders where
customerid = $customerid and
amount > .$_session['total_price'].-.001 and //这句是什么意思?
amount < .$_session['total_price'].+.001 and //这句是什么意思?
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';
------解决方案--------------------
total_price 取值上下浮动0.001
------解决方案--------------------
在php中断点调试看一下 $query 的实际内容就明白了。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product