Gracias, ya se como dices, pero sigue sin funcionar, yo lo que tengo, asi por encima es esto:
Código:
<input name=\"radiobutton\" type=\"radio\" value=\"estabien\"/>
Así hasta 4 botones con diferentes value, y en el archivo del action esto:
...
Código:
Código PHP:
$voto=$_POST["radiobutton"];
if ($voto="estabien")
{
$result = mysql_db_query("db","select * from table where voto=voto2");
$row = mysql_fetch_array($result);
$vota=$row["cant_voto"];
++$vota;
mysql_db_query("db","update table set cant_voto='$vota' where voto=voto2");
}
...
donde cant_voto es un entero de 3 cifras, o longitud 3, no se si se dice así.