我有一个显示所有用户照片的页面,但我希望排除默认的个人资料图片,即 thumb-default.png。我怎么做?
<?
$getphotos = mysql_query("SELECT ID, Link FROM images WHERE MemberID = '$vid'");
while($iph = mysql_fetch_array($getphotos))
{
$pID = $iph['ID'];
$pLINK = $iph['Link'];
echo "
<li><a href=\"members_image/$vid/$pLINK\" rel=\"prettyPhoto[gallery]\"><img src='/members_image/$vid/thumb-$pLINK' width='105'></a></li>
";
}
谢谢!!:-)