Guest PcGamerz13 Posted March 1, 2006 Share Posted March 1, 2006 Fixed Quote Link to comment https://forums.phpfreaks.com/topic/3872-help-with-mysql-data-insert/ Share on other sites More sharing options...
Boerke Posted March 1, 2006 Share Posted March 1, 2006 [!--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 UsersVALUES('$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()); Quote Link to comment https://forums.phpfreaks.com/topic/3872-help-with-mysql-data-insert/#findComment-13436 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.