php 结果集问题,帮帮忙 $rows = mssql_fetch_array($res,MSQLNUM))=>$rows = mssql_fetch_array($res,MSSQL_NUM)) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 $channel_pcode改为$rows['channel_pcode'] 看错了,改成这样看看 while ($row = mysql_fetch_array($res)) {echo "update xcms_channels set chl_chcode = '".$row['chl_chcode']"' where chl_code = '$channel_pcode'" ;$DB_naps->query("update xcms_channels set chl_chcode = '".$row['chl_chcode']"' where chl_code = '$channel_pcode'",$link); } $DB_naps->query("update xcms_channels set chl_chcode = '$row[0]' where chl_code = '$channel_pcode'",$link);=>$DB_naps->query("update xcms_channels set chl_chcode = '" . $row[0] ."' where chl_code = '$channel_pcode'",$link); while($rows = mssql_fetch_array($res)){ php字符转换为数组下标 开发了一个BUG跟踪管理软件,开放源代码,欢迎大家下载试用 php怎么和postgre连接呢? 二级域名和cookie的难题 浙江嘉兴市急招!5名PHP高级网络工程师 月薪5千,可再面议 有青岛的么 怎么实现页面自动跳转 php的函数调用?? 如何判断用户是否在线???? 请看这条SQL语句 作为一名菜鸟php程序员需要学习那些东西 仿校内网的高级搜索,在input输入框中点击弹出div且把值传回到text文本框
$rows['channel_pcode']
while ($row = mysql_fetch_array($res)) {
echo "update xcms_channels set chl_chcode = '".$row['chl_chcode']"' where chl_code = '$channel_pcode'" ;$DB_naps->query("update xcms_channels set chl_chcode = '".$row['chl_chcode']"' where chl_code = '$channel_pcode'",$link);
}
=>
$DB_naps->query("update xcms_channels set chl_chcode = '" . $row[0] ."' where chl_code = '$channel_pcode'",$link);
while($rows = mssql_fetch_array($res)){