Vipaka
2011-10-17 18:50:38 UTC
$sql = "SELECT item_link
COUNT(*)
FROM " . ITEMS_TABLE . "
GROUP BY item_link
HAVING (count(*) > 1)";
$result = $db->sql_query($sql);