rog1121 Posted April 20, 2011 Share Posted April 20, 2011 I have a Feedback form that I use to get peoples input. So far it works But I have 2 Problems Here is the Code: <?php include "includes/config.php"; $date = date('jS \of F h:i A'); $sql="INSERT INTO news (Name, Email, Comments, date) VALUES ('$_POST[gamertag]', '$_POST[email]', '$_POST[password]', '$date')"; header( 'Location: thanks.php' ); mysql_close($con) ?> I'm making a VB.net Feedback form and I want to imput like this http://mysite.com/feedback.php?name=Mike&[email protected]&comments=comment&date=20th of April 12:30 AM But so far from my testing it doesn't register the values and says that there is a Duplicate value for email ". I'd like it to register values somehow and if there is a duplicate email entered then have it update it or write over it. Any help appreciated, Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/234206-feedback-url-submit/ Share on other sites More sharing options...
rog1121 Posted April 20, 2011 Author Share Posted April 20, 2011 Never mind got it to work! Quote Link to comment https://forums.phpfreaks.com/topic/234206-feedback-url-submit/#findComment-1203800 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.