Hi,
Can any one tell me why define is not working below:
<?php
include("lang/default/macro.php");
?>
<html>
<head>
<title><?=title?></title>
</head>
<body>Hello World</body>
</html>
My macro file contains following:
<?php
define("title","I'm great");
?>
It prints title as "?=title?" rather than reading it from macro.php. However below code works fine:
<?php
include("lang/default/macro.php");
?>
<html>
<head>
<title><? echo constant("title"); ?></title>
</head>
<body>Hello World</body>
</html>
I want to use the macro using <?=title?> format. Can any one help me??
Thanks!!!