harkly Posted November 28, 2009 Share Posted November 28, 2009 I am creating a site where a user signs up and will need to fill out a variety of pages. I need some advice ... 1. Should I use INSERT when the user 1st signs up or can I just use UPDATE? The user will be able to back to the various pages and change info at any time, which is why I think I should use UPDATE. 2. Does anyone know where there is a good example of the POST to SELF? I would like the page to UPDATE and just have the new info in it instead of going to a whole new page. Link to comment https://forums.phpfreaks.com/topic/183236-advice-on-post-to-self-or-to-a-new-page/ Share on other sites More sharing options...
plznty Posted November 28, 2009 Share Posted November 28, 2009 I don't 100% get what you mean. But i would make it so that information typed in would carry on to the next page, and keep following that pattern then when they complete it would send all the data off. Rather than sending it off in segments. If this is what you are asking.. Link to comment https://forums.phpfreaks.com/topic/183236-advice-on-post-to-self-or-to-a-new-page/#findComment-967075 Share on other sites More sharing options...
harkly Posted November 28, 2009 Author Share Posted November 28, 2009 Sort of. The site is a dating site. So you think there should be separate pages for new users vs current users? Process right now New user signs up page 1 then they can go to the following pages ->page 2 ->page 3 ->page 4 ->page 5 I wanted to keep them separate because they will be able to go back and change the info on each page separately when ever they want to. I was also wondering if I should use the INSERT instead of the UPDATE when there is a new user for all the pages. I don't want to make duplicate pages but will if I have to. And I was looking to see if I can use this and if there is a good but simple example out there. Although I have been reading that it is not a good idea. <form method="post" action="<?php echo $PHP_SELF;?>"> Link to comment https://forums.phpfreaks.com/topic/183236-advice-on-post-to-self-or-to-a-new-page/#findComment-967084 Share on other sites More sharing options...
plznty Posted November 28, 2009 Share Posted November 28, 2009 Do the users HAVE to fill in every page? Link to comment https://forums.phpfreaks.com/topic/183236-advice-on-post-to-self-or-to-a-new-page/#findComment-967087 Share on other sites More sharing options...
harkly Posted November 28, 2009 Author Share Posted November 28, 2009 No, completely optional Link to comment https://forums.phpfreaks.com/topic/183236-advice-on-post-to-self-or-to-a-new-page/#findComment-967090 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.