欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  php教程

php问题$market

程序员文章站 2024-04-05 20:51:31
...

//$shop_price = !empty($_POST['shop_price']) ? $_POST['shop_price']*0.9 : 0; //$market_price = !empty($_POST['market_price']) ? $_POST['market_price'] : round($shop_price*$GLOBALS['_CFG']['market_price_rate']); $zmm_tejia = explode(' ', $_

//$shop_price = !empty($_POST['shop_price']) ? $_POST['shop_price']*0.9 : 0;
//$market_price = !empty($_POST['market_price']) ? $_POST['market_price'] : round($shop_price*$GLOBALS['_CFG']['market_price_rate']);

$zmm_tejia = explode(' ', $_POST[cn_goods_name]);

这些函数是什么意思?特别是$market_price = !empty($_POST['market_price']) ? $_POST['market_price'] : round($shop_price*$GLOBALS['_CFG']['market_price_rate']);