Jump to content


Help With Mysql data insert


  • Please log in to reply
1 reply to this topic

#1 Guest_PcGamerz13_*

Guest_PcGamerz13_*
  • Guests

Posted 01 March 2006 - 11:51 PM

Fixed

#2 Boerke

Boerke
  • Members
  • Pip
  • Newbie
  • 8 posts

Posted 01 March 2006 - 11:56 PM

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

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

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users