Código PHP:
Ver original<html>
<head>
<title>Problema</title>
</head>
<body>
<form action="2.php" method="post">
Ingrese nombre:
<input type="text" name="nombre"><br>
Ingrese mail:
<input type="text" name="mail"><br>
Seleccione el curso:
<?php
die("Problemas en la conexion"); die("Problemas en la selección de la base de datos"); $registros=mysql_query("select codigo,nombrecur from cursos2",$conexion) or
?>
<input type ="radio" name="codigocurso" value="<?php echo $reg['codigo'];?>"><?php echo $reg['nombrecur'];?><br>
<?php }?>
<input type="submit" value="Registrar">
</form>
</body>
</html>