Well sorry with the same question again, well i saw in phpbb there are templates in html format and they have html tags also but in between there are php array variables and values and in the main index file they just declared the variables and in the end the included the template and voilà! the index page is displayed without any errors now i want the same like make a variable or array and add those names in the html file like this:
index.php:
$var1 = "text";
include "file.html";
file.html:
this is {var1}
and the output should come "this is text". can anyone tell me how to do this?
EDIT: I don't want php codes like echo and all just {} and i am get output as "This is {var1}".