Jump to content

Help With Mysql data insert


Guest PcGamerz13

Recommended Posts

[!--quoteo(post=350826:date=Mar 2 2006, 12:51 AM:name=PcGamerz13)--][div class=\'quotetop\']QUOTE(PcGamerz13 @ Mar 2 2006, 12:51 AM) [snapback]350826[/snapback][/div][div class=\'quotemain\'][!--quotec--]
It only post blank stuff in the mysql table

[code]$User = $POST['User'];
$Password = $POST['Password'];
$E_Mail = $Post['E_Mail'];
$query = "INSERT INTO Users
VALUES('$User','$Password','$E_Mail')";
mysql_query($query);[/code]
[/quote]

$sql = mysql_query("INSERT INTO Users(user, pass, email)
VALUES('$User','$Password','$E_mail') or die (mysql_error());

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.