User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 391,990 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,309 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 183 | Replies: 0
Reply
Join Date: Dec 2007
Posts: 9
Reputation: mrt.work is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mrt.work mrt.work is offline Offline
Newbie Poster

PHP and TPL file, variable doesn't work

  #1  
Jul 10th, 2008
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
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb PHP Marketplace
Thread Tools Display Modes

Other Threads in the PHP Forum

All times are GMT -4. The time now is 9:47 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC