I have the following html, which displays a select box with country names.
<select name="nationality" id="nationality">
<option value="[blkcountries.val;block=option]">[blkcountries.val]</option>
<option>[onshow.country;ope=html;select]</option>
</select>
|
The PHP code is as follows:
$country = 'Norway';
$countries = explode(';', file_get_contents('countries.txt'));
$TBS->MergeBlock('blkcountries',$countries);
|
Now the country names are loaded fine, but the selecting of the country: Norway, does not work.
I can not find the problem.
Thank you very much
Michael