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
| SitePoint Sponsor |
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

Do a Google search for PHP templating - you will find plenty of tutorials and examples
Kayzio - We don't hesitate, we accelerate.



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.

I think he is reffering to templating similar to Smarty.
Kayzio - We don't hesitate, we accelerate.
Bookmarks