...

View Full Version : What are these variables?



Goober
12-17-2003, 03:40 AM
Hey I have noticed that in a lot of PHP scripts, HTML/CSS code is filled with values that look like this: {a_value). for example an html code for font would look like this:

<font color="{font_color}">

what are these variables, and how do I use them?

Spookster
12-17-2003, 04:44 AM
Well they are not variables per say. Most likely they are markers for some kind of template system. When the file gets parsed the template system replaces those markers with the actual values that are usually provided by some configuration file that the end user modifies.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum