[eluser]TWP Marketing[/eluser]
I don't believe you understand what I meant.
Your database is used to save four variables:
1) the text that the user enters
2) the text of the url segments, for instance: my_controller/the_function
3) the text which will appear at the anchor text. for instance: 'click here'
4) any attributes needed by the html <a> tag, for instance: a css class, image width and height etc.
You do NOT save the actual text of the CI anchor statement. That goes in your view file.
In your model you create a function to read the database record and pass that information to a view
In your view you will place the code to generate an html anchor statement. For instance, using CI I would use the anchor() helper function (as shown in my previous post).