OK. My project also includes the following: I am trying to find a way to set the value of a radio button based on a returned field from sql. I cant get the value of the radio button to change. Whenever the function in the code below is run, it always returns the first
$row value. I am looking to have the radio button value changed to whichever row corresponds to it. I.E. If row one WOID value is 1, then when selected, the radio button would set its value to 1, if row 2 WOID value is two, radio is set to 2 when selected, etc…
The goal is to allow the user to select a Work Order, then view that particular Work order (Selected by its ID) on a new page.
My code is: