$sql = dbquery("SELECT * FROM ".$db_prefix."photos WHERE photo_user='$lookup' ORDER by photo_id DESC LIMIT 0,3"); if(dbrows($sql)) { echo "