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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -