Buenas.
he probado con $_POST y ha poner las llaves como has sugerido pero las variables siguen llegandome vacías.
no entiendo bien como usar var_DUMP pero, si lo pongo al inicio de php var_dump($_post);
el error que me tira es este:
Código PHP:
Ver originalNotice: Undefined index: nombre in C:\xampp\htdocs\gins.php on line 12
Notice
: Undefined index
: mail in C
:\xampp\htdocs\gins
.php on line
12
Notice: Undefined index: clave in C:\xampp\htdocs\gins.php on line 12
has sido dado de alta correctamente
la sintaxis es correcta, no entiendo por qué ahora no le llegan las variables, he
coloco de nuevo el codigo con el highligth.
Código PHP:
Ver original<html>
<head>
<title>in</title>
</head>
<body>
<form action="gins.php" method="post" enctype="text/plain">
Introduzca Nombre :<input type="text" name="nombre" > <br>
Introduzca
Mail :<input type
="text" name
="mail"> <br
>Introduzca Clave :<input type="password" name="clave"><br>
<input type="submit" value="Registrar">
</body>
</html>
y el gestor gins.php
Código PHP:
Ver original<html>
<head>
<title>gin</title>
</head>
<body>
<?php
$conexion=mysql_connect("localhost","root","contraseña") or
die("problema de conexión"); values
('{$_POST['nombre']}','{$_POST['mail']}','{$_POST['clave']}')",$conexion)
echo "has sido dado de alta correctamente";
?>
</body>
</html>
QUIZÁ podría poner en el formulario value="$_POST['indice']" en cada caso ??.
GRACIAS POR SU TIEMPO