This one is throwing me for a loop; and I have stared at the code and output for about 3 hours now... Cant figure it out so I figured that I would see if someone else would like to take a crack at it. This is the problem.
I get some information from a database. Based on this information, I display a drop down box with some other information in it (so they can update the values). My problem is the function at the bottom of the page that gets the current value and displays the drop down box wont select the right one. I keep on getting ERROR (which is in my default). But as you can see, I output what Im testing against; and it outputs "No". Then the kicker... after the select statement, it says that my variable is empty 8O ????
I am completely confused... I have provided the source code and a sample screen shot of what I see (exactly). Any help is greatly appreciated. Thank you
Screen Shot (I made it low resolution but you can see the output)