I'm working on a CMS, among a lot of other things, but one thing that I want to do is to query the database content of "pages" for links to a specific page.
The content is stored in a long, and contains HTML. So, would like to do something like:
[plug=shameless]
[/plug]
The content is stored in a long, and contains HTML. So, would like to do something like:
Code:
select pageid from page where content like '%<a href="www.example.com/%/3%'
[plug=shameless]
[/plug]