My current query (doesn\'t work)
SELECT url FROM table WHERE \'http://www.longurl.com/some/string\' like \'%\' . url . \'%\'
table
Try removing or escaping some of the characters in your URL string. OR omitting the http: part .. I believe the : could be confusing the parser ...
:
so try %//longurl.com/%
or even
%longurl.com% if possible
http://longurl.com/%