Forum Moderators: coopster
Because I don't want to put <img src=""> code in my database I am thinking of using UBB code to reference my images. This will hopefully give me more leeway in the future if image tags change, for example like <img src=""> to <img src="" /> have done. i.e. I won't have to go through my database changing entries.
However I don't know much about ubb code and how to put it into the database and how PHP should parse it to display the html when it comes out the other side.
I'm slightly confused about where to find information about how to do the above.
Should I be reading up on regular expressions?
I'm building a small CMS where currently I am the only user, but I suppose in the future when there are more users then it could be easier for the 'uneducated' to use this UBB code?