Jump to content

Advice on POST to SELF or to a new page


harkly

Recommended Posts

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

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..

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;?>"> 

 

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.