Jump to content

Help w/ Text Replacement


ataria

Recommended Posts

Alright.

I want the users to be able to type [item]Item Name[/item]

Of course. [item] will change to.. <img src="

and, [/item] will change to ">

 

but the thing is, the URL is not the item name, so, I need to run a query into the database, retrieve the URL. and then I can use it.

 

any way I can break off the name they entered and run it in a query?

=/

 

sorry if this sounded confusing.

Link to comment
https://forums.phpfreaks.com/topic/44269-help-w-text-replacement/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.