Correcion bug campo radio

This commit is contained in:
humano 2018-04-01 14:03:29 -05:00
parent 47b1d45c03
commit 3c199c6dfb

View File

@ -16340,7 +16340,9 @@ if (mysqli_num_rows($sql)!='0'){
$resultado="" ;
while( $row = mysqli_fetch_array( $sql ) ) {
if($row[campo_valor] ==="$valor"){$selected="checked";}else{$selected ="";}
$valor=html_entity_decode("$valor");
if($row['campo_valor'] ==="$valor"){$selected="checked";}else{$selected ="";}
$resultado .= "<div class='radio' id='radio_$row[campo_valor]' >
<label>
<input type='radio' name='$name' id='$name' value='$row[campo_valor]' $selected >