Form field and tags PHP -


i don't thing called try descripe.

so have form couple fields , textarea. want user add "tags" textarea , tags replaced variables db/array in code. example if user writes textarea "hello how {name} today?" when form saved, {name} replaced string array. how or method called google , learn more it?

you're looking parser. can use regular expressions and/or string replacements that. typically there parsing methods both encoding , decoding. implement class that. functionalities used in forums or cms. simplest example smiley codes. once understand workflow of that, use tag-functions. such {listgroup|25} produce list of 25 users of group.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -