盾怪网教程:是一个免费提供流行杀毒软件教程、在线学习分享的学习平台!

XML与现代CGI应用程序

时间:2025/1/7作者:未知来源:盾怪网教程人气:

[摘要]'0';my item_total = quantity * cost;grand_total += item_total;# add the order quantity and ...
'0';
my $item_total = $quantity * $cost;
$grand_total += $item_total;

# add the order quantity and item totals to the tree.
$row->appendTextChild('quantity', $quantity);
$row->appendTextChild('item-total', $item_total);
}

最后,我们将增加一些有关订单的元信息,方法是在具有<order-total>元素的根元素中添加一个<instance-info>元素,该元素中包含有当前所选货物的总价值。

$grand_total

关键词:XML与现代CGI应用程序




Copyright © 2012-2018 盾怪网教程(http://www.dunguai.com) .All Rights Reserved 网站地图 友情链接

免责声明:本站资源均来自互联网收集 如有侵犯到您利益的地方请及时联系管理删除,敬请见谅!

QQ:1006262270   邮箱:kfyvi376850063@126.com   手机版