I am pretty new to PHP, but I have a fair idea about how it works.
My question is this: is it possible to have something like %username%, in HTML, and when PHP recognises this text, it will output a username?
Ie: turn the %username% to the actual username?
How would this be done, or how does it work?
Thanks for all help in advance!
This usually done through Template Engines like Smarty for example. See the next definition from smarty.net
and there are many other template engines other than smarty, just google for it.