Hi guys,
What I want to do is alter each line of text within the CODE tags to auto include something on the end.
Eg. A user types this -
1
2
3
and the output needs to be
1 - [url=http://none.com/?id=1]Link[/url]
2 - [url=http://none.com/?id=2]Link[/url]
3 - [url=http://none.com/?id=3]Link[/url]
but with the URL tags properly linked.
Is there any way to do this?
ps. I already have the code to explode the variable by \n - I tried using $text but that affects the entire post, not just the bits between the tags.....