Basically, the user enters in html with a few shortcut tags that load data from a database.
An example of the tag is:
<data id="2394239" />
or: <data id="2394238></data>
What I want it to do is find the shortcut tags, find the id attribute, and replace the tag with more html code based on data looked up in a database.
How do I do this?
An example of the tag is:
<data id="2394239" />
or: <data id="2394238></data>
What I want it to do is find the shortcut tags, find the id attribute, and replace the tag with more html code based on data looked up in a database.
How do I do this?