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

go - serving up pdfs using golang -

python - Best design pattern for collection of objects -

r - Using `bbmle:mle2` with vector parameters (already works using `optim`) -