My current query (doesn\'t work)
SELECT url FROM table WHERE \'http://www.longurl.com/some/string\' like \'%\' . url . \'%\'
table
this?
SELECT url FROM table WHERE url like '%http://%longurl.com%'
or you can also use %longurl.com%