Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.
www.smarty.net
•
phpinsider.com
•
Forum Index
•
FAQ
•
Search
•
Memberlist
•
Profile
•
Log in to check your private messages
•
Register
•
Log in
Search found 1 match
Smarty Forum Index
Author
Message
Topic:
Variable in variable value
shivgoa
Replies:
1
Views:
20970
Forum:
Tips and Tricks
Posted: Sun Dec 02, 2012 10:20 am Subject:
Variable in variable value
Suppose I have in php file
<?
$tpl->assign('_YEAR',date('Y'));
$tpl->assign('_FOOTER',"This is {$_YEAR}");
?>
and in templeate file
<div class="footer">{$_F ...
Page
1
of
1
All times are GMT
Jump to:
Select a forum
General
----------------
Announcements
Installation and Setup
FAQ (Frequently Asked Questions)
Testimonials
Showcase
Help Wanted (commercial)
User Supported Help
----------------
General
Tips and Tricks
Plugins
Add-ons
Frameworks
Article Discussions
Development
----------------
Smarty Development
Feature Requests
Bugs
Documentation
Smarty 3
International Discussions
----------------
Language: German
Language: French
Language: Portuguese
Language: Russian
Language: Spanish
Language: Italian
Language: Japanese
Language: Persian
Language: Polish
Language: Indonesian
Powered by
phpBB
© 2001, 2005 phpBB Group
Protected by
Anti-Spam ACP