mrt.work 0 Newbie Poster

HI,
I have a tpl file which use the {php}{/php} to excute php file inside it. The problem is that in that tpl file,

$article_title

is a string and i want to set it's value to use in php excutions so it looks like this:

{php}
$var1==$article_title;
{/php}

NOTE: $article_title is the variable set in tpl not PHP

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.