Código PHP:
if (!isset($tabla))
{
echo "<form action=\"pagina.php\" method=\"post\">";
echo "<input type=\"hidden\" name=\"tabla\" value=\"".$row['dato']."\">";
echo "<input type=\"radio\" name=\"valor\" value=\"1\">";
echo "<input type=\"radio\" name=\"valor1\" value=\"1\">";
echo "<input type=\"radio\" name=\"valor2\" value=\"1\">";
echo "<input type=\"radio\" name=\"valor3\" value=\"1\">";
echo "<a href=\"#\" javascript:document.encuesta.submit()"; name="pagina.php?tabla=".$row['dato']."\"><input type=\"hidden\">Enviar</a>";
}
else
{
$tabla = $_GET['tabla'];
$valor = $_POST['valor'];
$valor1 = $_POST['valor1'];
$valor2 = $_POST['valor2'];
$valor3 = $_POST['valor3'];
echo $tabla." ".$valor." ".$valor1." ".$valor2." ".$valoe3."<br />";
}
bichomen