我正在使用以下代码来显示缩略图库。此代码来自另一个计算器问题
$count=0;
$arr=array('a', 'b', 'c', 'd');
while ($row = mysqli_fetch_array($query)) {
$img = $row["fn"];
if (empty($img)) { break; }
$thumb = 'images/th_'.$img;
if ($count == 8) { break; }
$i=$arr[$count%4];
$ths.='<div class="ui-block-'.$i.'"><img src="'.$thumb.'"></div>';
$count++;
};
我不明白$ row [“fn”];我在谷歌找不到任何东西。格式化字符(如\ n)是“fn”的一部分吗?对不起,这样一个基本的问题,但我真的无法在其他地方找到答案,我一直在寻找两个小时。