there's also the "same domain" restriction.
maybe must use LIKE, e.g.
SELECT * FROM tablename WHERE url LIKE '%phpbuilder.com%'
since the domain is part of the URL
that might translate to:
$sql = "SELECT * FROM tablename WHERE url LIKE '%$domain%' LIMIT 2";