Hi!
I am trying to use php alongside the <%%> tags in my templates, but to little success.
Here is a small example of a template file that demonstrates what I want to do:
<html lang="en">
<head>
<title><%site_title%></title>
</head>
<body>
<?php echo "hello"; ?>
</body>
</html>
When I try this, the the php is simply converted to html comments. How do I get the php to parse?
Thanks
I am trying to use php alongside the <%%> tags in my templates, but to little success.
Here is a small example of a template file that demonstrates what I want to do:
Code:
<!DOCTYPE html> <html lang="en">
<head>
<title><%site_title%></title>
</head>
<body>
<?php echo "hello"; ?>
</body>
</html>
Thanks