我已经成功地将一个包含 72 个值的数组移动到新工作表:(在你们所有人的帮助下,我的运气也不错)由print_r
但是,我收到“警告:mysql_fetch_array():提供的参数不是第 14 行 .../admin/emailall.php 中的有效 MySQL 结果资源
输入数字时查询有效
<?php
include "inc.php";
//print_r ($_POST);
$Pnum=implode(',',$_POST);
$querymail=mysql_query("select sp.email_address as email from stats_player sp
where sp.player_num IN $Pnum");
//have tried ($Pnum) '$Pnum' (".'$Pnum'.") and I think a few other cominations
echo "<table>";
while($row=mysql_fetch_array($querymail))
{
echo "<tr><td>".$row['email']."</td></tr>";
}
echo"</table>";
?>
这张桌子是临时的,而且只是一张支票