2
我想用PHP复制图像标记。Genarate /重复HTML与PHP
'amount'是我的表中的行数。
我的代码:
while($counter < $amount){
echo ('<li><img src"Login/images/'.$files[0].'" width="600px;"></li>');
$counter++;
}
我想用PHP复制图像标记。Genarate /重复HTML与PHP
'amount'是我的表中的行数。
我的代码:
while($counter < $amount){
echo ('<li><img src"Login/images/'.$files[0].'" width="600px;"></li>');
$counter++;
}
根据该意见,我想出了几个解决方案:
$counter = 0;
)仍然无法正常工作.. –
那么你的问题是什么?似乎代码工作正常。 – user2610529
问题是没有图像 –
你确定图像在该文件夹中,路径是否正确? –