I'm retreiving a value from a d/b and want to display correct entry when page is loaded. If database_type = "GEN", how would I get the GEN entry to display?
You what it to be selected by default? Than add the selected attribute to the tag.
Eric [ October 30, 2008: Message edited by: Eric Pascarello ]
Don Martino
Greenhorn
Joined: Oct 04, 2008
Posts: 25
posted
0
I don't want a specific value displayed as default each time the page loads. I want the value I capture from the d/b record to be displayed, which could be GEN or any of the values listed in the options.
I was just using the "If database_type = "GEN".... as an example, but it will be different each time a new d/b rec is read.
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
0
I still have no clue what you are trying to do exactly.
Eric
Don Martino
Greenhorn
Joined: Oct 04, 2008
Posts: 25
posted
0
if database_value = "DIG", how do I get the "DIG" entry in select option to display?