I am trying to fix up my auction site and I am stuck on 1 issue and I was hoping maybe somebody can help me out.
Basically the below piece of code shows up on the edit auction page of the site. Here users will edit their auction fields, so if they originally selected “Pay Pal” as a form of payment, it should still be checked in the edit auction page and changes can be made.
The problems I am having is with shipping conditions. For some strange reason whatever is selected during auction setup isn’t prefilled when going to edit the auction. Once you enter the edit auction page ALL the shipping conditions remain blank and the user will have to re-select the one he wants all the time. The condition he selected when setting up the auction should be checked when entering the edit auction page.
I am hoping it’s just something silly that is missed in the code. The code does show “checked” so it should work, but for some reason it doesn’t.
Hopefully somebody can help me out. Any help is appreciated
Here is the code:
foreach($radio_arr as $value)
$field_str.="<tr><td><input type='".$field["D3_type"]."' value='".$val."'
$field_str.="<tr><td><input type='".$field["D3_type"]."' value='".$val."' name='".$field["D3_name"]."' checked> ".$val."</td></tr>";