logged in after second time view another page

I have a problem. it relates to when the first user login, it should answer some questions needed in my system, but how when the user is logged in for a second time, only the results from the questions answered are shown?

help me.

How would you like us to help you ?
How will you know if its there second time on the page are you using a database or flat file ?
How about some code ?
You show us and we will try and help you .

Yes, Noodles is correct! Help us help you!

But, in general, something like this is handled with a field in the user database. You would need to create a new field, let’s call it “first_login” or something like that. When the user logs in the first time, you would store a value in this new field for the user, something like “first-log-in-complete”, or any code you want to use. It could be a simple 0 or 1. (0 for never logged in, 1 for logged in once before!) Now, every time a user logs in, you would read that field and check to see if it is their first time or not. And, then handle whatever you want done.

Well, that is a basic quick idea for you to think about. But, code would help us…

Sponsor our Newsletter | Privacy Policy | Terms of Service