I've got a page that displays all of a users' photos but I'm looking to exclude the default profile picture which is thumb-default.png. How do I do that?
<?
$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>
";
}
Thank you!! :-)