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 put all items in an array and dynamically generate the list with a for (or foreach) loop. Then just check in this loop whether your loopvariable equals your value and if so, assign the selected attribute.
Something like this:
Select Height '.$option.''; } ?>