Re: [PHP] Can't store info on a mysql database...

2002-11-01 Thread rija
$sql="INSERT INTO `users` (login,passwd) VALUES ('$logintxt', 'password($passwdtxt)')" ; mysql_db_query("mysite",$sql); - Original Message - From: "Mr. BuNgL3" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, N

Fw: [PHP] Can't store info on a mysql database...

2002-11-01 Thread Rick Emery
$md = MD5($passwdtxt); $sql="INSERT INTO users (login,passwd) VALUES (\"$logintxt\", \"$md\")"; mysql_query($sql) or die(mysql_error()); next time, show the error messages you got. Also, ALWAYS USE mysql_error() when executing mysql_query() -- see above = "Mr

[PHP] Can't store info on a mysql database...

2002-11-01 Thread Mr. BuNgL3
Hi... My problem is that i can't store info in a mysql database... ex: I want to store this info in my database: login/passwd and i have the php code... what i'm doing wrong? : | thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.