How to call config values via variables?

From: Date: Tue, 16 Sep 2003 11:53:32 +0000
Subject: How to call config values via variables?
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1872@lists.php.net to get a copy of this message
Hi, The subject may be wrong but I want to use a contry.conf file which contains country codes as below: _c1=Afghanistan . . And I created a template which contains a select object to select the country a below: <select class="formtext" style="WIDTH: 187px" name="country"> <option value="" selected>Please Select</option> <option value="_c1">Afghanistan</option> Last of all, I want to preview the form before submission. For that another template file is used. Here the problem raises. How will I use "country" variable to get value from country.conf file to display. I mean, I will get value "_c1" for "country" variable from form template. And I will parse it into preview template but it must be turned to "Afghanistan" while display. I hope I made myself clear... Thanks anyway -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .

« previous php.smarty.dev (#1872) next »