我试图在这里回显一些结果 $aditya 是一个包含多个值的数组,$var3 也包含多个值但是当我回显它时它只显示一个值
请弄清楚我做错了什么
$query1= mysql_query("SELECT * FROM table WHERE col2 in ($aditya)");
while($var1=mysql_fetch_array($query1))
{
$var2=$var1['col1'];
$var3=$var1['col2'];
$var4=$var1['col3'];
$name=mysql_query("SELECT f_name FROM table2 WHERE f_id=$var2");
$tname=mysql_fetch_array($name);
echo "</br>"."</br>"."<a style='color:blue' href=something.php?f_id=$var2 target=_BLANK >".$name['f_name']."</a>"." "."$var3"." "."("."$var4".")";
}