表单只能提交一次,如何能多次提交?
我也不知道该粘贴哪段代码!foreach($takechipsas$t){$alljoinmoney=$alljoinmoney+$t['joinmoney'];}if(...
我也不知道该粘贴哪段代码!
foreach($takechips as $t){
$alljoinmoney = $alljoinmoney + $t['joinmoney'];
}
if(time() < $chip['starttime']){
$flag = 0;
}
if(time() >= $chip['starttime'] && time() < $chip['endtime']){
$flag = 1;
}
if(time() >= $chip['endtime'] || $alljoinmoney >= $chip['price']){
$flag = 2;
}
$mychip = pdo_fetch("select * from ".tablename('hc_chips_takechip')." where uniacid = ".$uniacid." and chipid = ".$chipid." and mid = ".$member['id']);
$isjoin = empty($mychip) ? 0 : 1; 展开
foreach($takechips as $t){
$alljoinmoney = $alljoinmoney + $t['joinmoney'];
}
if(time() < $chip['starttime']){
$flag = 0;
}
if(time() >= $chip['starttime'] && time() < $chip['endtime']){
$flag = 1;
}
if(time() >= $chip['endtime'] || $alljoinmoney >= $chip['price']){
$flag = 2;
}
$mychip = pdo_fetch("select * from ".tablename('hc_chips_takechip')." where uniacid = ".$uniacid." and chipid = ".$chipid." and mid = ".$member['id']);
$isjoin = empty($mychip) ? 0 : 1; 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询