I have a weird html option list which I dont want to check each value to make it selected or not see the list below
You can't change the element to specify this: it's not part of the HTML specification. What you can do is give each
option
element an id
and then use Javascript to set the right option
element(s) as selected
. In PHP, you would need to output the script snippet in the right place to get the browser to run it.
For example
...