PhP / MySQL problem
- From: debussy007@xxxxxxxxx (debussy007)
- Date: Wed, 29 Aug 2007 12:03:00 -0700 (PDT)
Hi,
I created a form asking username, password, country, etc.
On the submit of this form I make a sql connection and update the database,
add the user.
The problem is that whenever the field 'password' is filled in,
"it" (I don't know what) is asking to confirm the change of the password.
I made a printscreen to clarify :
http://matthew16.free.fr/sql.jpg
This is what I get when I try to submit the form and I filled in field
password.
The users displayed in the pop-up are the MySQL users.
The php/sql code is the following :
mysql_select_db("mydb", $link) or die(mysql_error());
$query =
"INSERT INTO members (username,password,date_of_birth,e_mail,country)
VALUES ('".
$_POST['username']."','".
$_POST['password']."','".
$_POST['dateofbirth']."','".
$_POST['email']."','".
$_POST['country']."')";
$result = mysql_query($query, $link) or die($query . " - " . mysql_error());
Thank you for any help !
--
View this message in context: http://www.nabble.com/PhP---MySQL-problem-tf4349742.html#a12393567
Sent from the PHP - General mailing list archive at Nabble.com.
.
- Follow-Ups:
- Re: [PHP] PhP / MySQL problem
- From: "Richard Lynch"
- Re: [PHP] PhP / MySQL problem
- From: Ludovic André
- Re: [PHP] PhP / MySQL problem
- Prev by Date: Re: [PHP] Pragmatically changing a "Record Number"
- Next by Date: CAN'T GET OUT OF THIS LIST
- Previous by thread: Perhaps an incomplete $_POST
- Next by thread: Re: [PHP] PhP / MySQL problem
- Index(es):