jotaincubus, mis radios en su atributo name tienen este nombre m_$num_preg, por lo que la cuestion es que no se como referirme a ellos. te pongo parte de mi codigo del primer formulario donde genero los radios:
Código PHP:
Ver original$sql1="select num_preg, preg_percep from preguntas where id_aspecto='$mrow->id_aspecto'";
//$id_pregunta =$mrow1->id_pregunta;
$num_preg =$mrow1->num_preg;
$preg_percep =$mrow1->preg_percep;
echo "<tr>";
echo "<td>$num_preg<input type='hidden' name='n_$num_preg' value='$num_preg'></td>";
echo "<td align='left'>$preg_percep<input type='hidden' name='p_$num_preg' value='$num_preg'></td>";
echo "<td align='center'><input type='radio' name='mk_$num_preg' value='1' tabindex='2'></td>";
echo "<td align='center'><input type='radio' name='mk_$num_preg' value='2' tabindex='2'></td>";
echo "<td align='center'><input type='radio' name='mk_$num_preg' value='3' tabindex='2'></td>";
echo "<td align='center'><input type='radio' name='mk_$num_preg' value='4' tabindex='2'></td>";
echo "<td align='center'><input type='radio' name='mk_$num_preg' value='5' tabindex='2'></td>";
echo "<td align='center'><input type='radio' name='mk_$num_preg' value='6' tabindex='2'></td>";
echo "<td align='center'><input type='radio' name='mk_$num_preg' value='7' tabindex='2'></td>";
echo "</tr>";
y este e la otra parte del otro formulario donde quiero que aparescan los valores de los radios que seleccione y que además tengo otros radios:
Código PHP:
Ver original$sql1="select num_preg, preg_expec from preguntas where id_aspecto='$mrow->id_aspecto'";
//$id_pregunta =$mrow1->id_pregunta;
$num_preg =$mrow1->num_preg;
$preg_expec =$mrow1->preg_expec;
echo "<tr>";
echo "<td>$num_preg<input type='hidden' name='n_$num_preg' value='$num_preg'></td>";
echo "<td align='left'>$preg_expec<input type='hidden' name='p_$num_preg' value='$num_preg'></td>";
echo "<td align='center'><input type='radio' name='m_$num_preg' value='1' tabindex='2'><input type='text' style='width:55px' name='mk_$num_preg' value='[COLOR="Red"][B]como pongo aqui el valor del radio que fue enviado[/B][/COLOR]'></td>";
echo "<td align='center'><input type='radio' name='m_$num_preg' value='2' tabindex='2'></td>";
echo "<td align='center'><input type='radio' name='m_$num_preg' value='3' tabindex='2'></td>";
echo "<td align='center'><input type='radio' name='m_$num_preg' value='4' tabindex='2'></td>";
echo "<td align='center'><input type='radio' name='m_$num_preg' value='5' tabindex='2'></td>";
echo "<td align='center'><input type='radio' name='m_$num_preg' value='6' tabindex='2'></td>";
echo "<td align='center'><input type='radio' name='m_$num_preg' value='7' tabindex='2'></td>";
echo "</tr>";
}