I saw some html that displays the results of a PHP code just by adding {#name}
<html>
<body>
{#name}
</body>
</html>
How can i do that?
I have been looking around and I cant find anything that shows me how to do this.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What you saw was probably some sort of template system. If that is the case, the PHP script reads the template, and then replaces all instances of
{#name}with the contents of the variable$name.An example of one such template system would be Smarty.