PHP/MySQL Array Exclude

alx-r

New Member
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?\[code\]<?$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=http://stackoverflow.com/"members_image/$vid/$pLINK\" rel=\"prettyPhoto[gallery]\"><img src='http://stackoverflow.com/members_image/$vid/thumb-$pLINK' width='105'></a></li>";}\[/code\]Thank you!! :-)
 
Back
Top