SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: {} Thingies
-
Jun 1, 2007, 14:18 #1
{} Thingies
Hey,
How do you make {} Thingies so you can define what for example {THIS} is and then use {THIS} throughout your program and php will replace {THIS} with whatever you defined it as somehwere else?
How do you make these?
Thanks
Neil
-
Jun 1, 2007, 14:28 #2
- Join Date
- Mar 2007
- Posts
- 196
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Do a Google search for PHP templating - you will find plenty of tutorials and examples
Kayzio - We don't hesitate, we accelerate.
-
Jun 1, 2007, 14:29 #3
- Join Date
- Aug 2005
- Posts
- 453
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Are you talking about constants?
define('EYE_COLOR', 'Blue');
define('TIREPRICE', 1200);Computers and Fire ...
In the hands of the inexperienced or uneducated,
the results can be disastrous.
While the professional can tame, master even conquer.
-
Jun 1, 2007, 14:45 #4
- Join Date
- Mar 2007
- Posts
- 196
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I think he is reffering to templating similar to Smarty.
Kayzio - We don't hesitate, we accelerate.
Bookmarks