starbizcon
Programmer
I am using $Cgi->popup_menu and reading default values from a text file, which previously printed
<select name="convert_links_to_friendly" >
<option value="1">Yes</option>
<option selected="selected" value="0">No</option>
</select>
if the value was 0, but since several weeks on all new servers I tried, it prints
<select name="convert_links_to_friendly" >
<option value="1">Yes</option>
<option value="0">No</option>
</select>
how can i get option selected again if the read-in value is 0?
<select name="convert_links_to_friendly" >
<option value="1">Yes</option>
<option selected="selected" value="0">No</option>
</select>
if the value was 0, but since several weeks on all new servers I tried, it prints
<select name="convert_links_to_friendly" >
<option value="1">Yes</option>
<option value="0">No</option>
</select>
how can i get option selected again if the read-in value is 0?