beachdaze Posted January 18, 2007 Share Posted January 18, 2007 Don't expect to get the full answer as it may be beyond the scope of a forum, but any help even if a point to the proper tutorial is welcomed!Need to have a "sign up" form that populates in 30 minute intervals. When a user clicks a link it passes the date/time and a flight variable in the url. This link goes to a form for user info. I need the info from the form (name, date/time & flight) to populate on the first page in the correct time slot. A sample page is at http://chrysalis.floridasonriseemmaus.com/girls2_prayer.php since I doubt I'm very clear. The form inserts into the db just fine, however I'm lost in how to get the data to fill the proper place in the list. Thanks for any help, if you'd want to email directly, it's brucelcampbell at gmail dot com.Peace. Link to comment https://forums.phpfreaks.com/topic/34741-form-with-time-variable/ Share on other sites More sharing options...
hvle Posted January 18, 2007 Share Posted January 18, 2007 you can set a hidden input and put it inside the form. This hidden input would be the time.for ex:I click www.yourserver.com/theform.php?timestamp=323235234insdie 'theform.php', you will retrieve the timestamp value and set a hidden input inside the form's htmltheform.php:<?phpecho "<form .....";echo "<input type=hidden name=mytimestamp value={$_GET['timestamp'] />";echo "</form>";you got the idea? Link to comment https://forums.phpfreaks.com/topic/34741-form-with-time-variable/#findComment-163771 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.