calle08 Posted August 24, 2011 Share Posted August 24, 2011 How do i make a php form that do this sql question? One field to insert a new date. And one submit button. Don,t know how to start can somone help? insert into all (firstname, lastname, date, info) SELECT firstname, lastname, '2011-09-10', info FROM all WHERE date = '2011-08-30' Link to comment https://forums.phpfreaks.com/topic/245574-php-form/ Share on other sites More sharing options...
WebStyles Posted August 24, 2011 Share Posted August 24, 2011 Not sure I get the question... simple html forms? <form name="something" action="processingPage.php" method="post"> Name: <input type="text" name="uName"> <input type="submit" value="SEND"> </form> grab variable on next page with: $name = $_POST['uName']; Link to comment https://forums.phpfreaks.com/topic/245574-php-form/#findComment-1261298 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.