I would like to create shortcut html tags like in fbml or wiki text in php. How?

John C

New member
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?
 
Back
Top