Hello Guys,
This may sound like a strange problem but I need this to work as specified.
For our DB, we DO NOT want HTML anywhere in the table. What I would like to be able to do is to, possibly using the tablename_init hook or other method, is to replace some data with different data. I.e. I want to replace [br] with <br />. We already have a custom coded solution that we are porting to AppGini (http://sysnative.com/drivers/), but one of the issues is using [br] and replacing with <br />.
And no, I cannot persuade them to use <br /> by default.
I would also like to be able to use [red][/red] tags that are replaced with <span class="red></span> and tags that are replaced with <strong></strong>.
It should be simple with str_replace, but I cannot work out a way to do it.
Any ideas?
Thanks,
Stephen
Auto Find and Replace Data
-
- AppGini Super Hero
- Posts: 56
- Joined: 2013-01-10 16:37
- Location: England
- Contact: