php5中没有问题,4中有问题,怎么改才能解决

als0470 als0470 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
//shopping1
<?php
session_start();
?>
<form action="shopping6.php" method="get" name=form1
<input type=hidden name=PageID value="1"><input type=hidden name=action value="a">
<input type=hidden name=TrackID value="1001587">
<input type="text" name="num"><br>
<b>
You have
<?php
//session_start();
if(!isset($_SESSION['cart_item']))
$_SESSION['cart_item']=0;
echo $_SESSION['cart_item']." ";
?>
item(s) in your Shopping Cart
</b>
<input type="submit" value="submit">
</form>
...全文

相关推荐

评论 4
收藏 已收藏
分享
返回顶部
als0470
基础编程 21,889 成员 140,329 内容