Ver Mensaje Individual
  #5 (permalink)  
Antiguo 19/08/2008, 16:02
Avatar de Ronruby
Ronruby
 
Fecha de Ingreso: julio-2008
Ubicación: 18°30'N, 69°59'W
Mensajes: 4.879
Antigüedad: 15 años, 9 meses
Puntos: 416
Respuesta: Formularios con php y mysql

Cambia esta linea:
Código PHP:
mysql_query("INSERT INTO usuarios (rut, nombre)
VALUES ('$_POST[rut]' , '$_POST[nombre]')"
); 
Por esta:
Código PHP:
mysql_query("INSERT INTO usuarios (rut, nombre)
VALUES ('$_POST[rut]' , '$_POST[nombre]')"
) or die(mysql_error()); 
A ver si estas ejecutando la consulta correctamente.