jcbktb Posted October 22, 2008 Share Posted October 22, 2008 There is probably an easy solution to this, but my brain is mush and I can't figure it out. Here's the problem: My bosses asked me to develop a database for our information. I'm not a professional developer or an IT person at all, but I am the youngest here so I was nominated. I developed the program using PHP and MySql along with html forms. Unfortunately the information they were asking to be databased was large. For instance, one table alone has over 100 fields. As you can imagine the form I created on the webpage is long and scrolls down the page forever. My question is: is there any easy way to break up the form into multiple webpages while using some sort of next button, but still keep all the data in one record? Again I'm sure (or at least hoping) for an easy solution, but after working on this program for a month and self learning PHP and MySql, my brain is fried. Thanks Joe Link to comment https://forums.phpfreaks.com/topic/129622-php-multiple-webpages/ Share on other sites More sharing options...
prexep Posted October 22, 2008 Share Posted October 22, 2008 JS can do it. Or you can use $_GET or $_POST and hold the data and just pass it through each page. Link to comment https://forums.phpfreaks.com/topic/129622-php-multiple-webpages/#findComment-672008 Share on other sites More sharing options...
dropfaith Posted October 22, 2008 Share Posted October 22, 2008 have the form post page one posts to page two use the get function to get the details from the url and echo them into hidden fields <input type="hidden" value="Echo posted data from page one here"/> continue process the same way as much as you want Link to comment https://forums.phpfreaks.com/topic/129622-php-multiple-webpages/#findComment-672011 Share on other sites More sharing options...
jcbktb Posted October 22, 2008 Author Share Posted October 22, 2008 Great thanks for you quick response. I'll give it a try. Link to comment https://forums.phpfreaks.com/topic/129622-php-multiple-webpages/#findComment-672016 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.