$interestall = $_POST['interest'];
解决方案 »
- 用setCookie()时,将域名指定称“localhost”就保存不了Cookie怎么回事??
- 又遇到问题了 可能有点蛋疼 请高手帮忙解决
- php变量赋值给js的问题
- (这里能发帖吗?)想找一个类似天猫的php开源系统,界面和用户体验都做得比较好的有那些?谢谢!
- WINDOW7 安装 pcntl_fork问题
- 对多级类别的搜索问题,比如:一个产品属于t1->t11->t112,在数据库中存所属类为t112,现在要搜索t1下的所有产品,怎样才能既灵活,又有
- 都已经安装了GD库,但是还出现这个问题,高手帮忙看看!
- 救救我吧,头都大了!高手们总不能见死不救吧!!拜托了
- 高分求FTP_GET()函数的用法,
- 如何判断一串字符为 汉字
- php内容压缩输出问题
- 帮我看看这个下载程序错在哪儿?在线等着您!!!
$interest_0 = $interest[$i];
}我刚学,这样可以吗?
不太会写
请大家帮忙
{
while (list(,$selected_val) = each(interest))
{
$interest_0 = $selected_val;
}
}
if($interest):
for($i = 0; $i < count($interest);$i++){
$interestall.=$interest[$i];
}
endif;
?>
{
$tmp = $_POST["interest"];
$interestall = '';
foreach($tmp,$val)
{
$interestall .= $val;
}
}