...

View Full Version : How would I go about this?



sirborder
03-28-2007, 07:56 PM
I am trying to complete a members system. I have finished the register, login, and logout parts and am now on the members profile part. I don't really know how to go about this. I don't have much coding experience and that is why I'm doing this. Does anyone have any suggestions?

Thanks,
Sirborder

aedrin
03-28-2007, 08:08 PM
What is the problem you are experiencing?

It helps to describe what part you don't understand, so that we don't have to guess at it.

sirborder
03-28-2007, 09:14 PM
This is for a text based game in the long run. I want to know how to dirent someone to their caractor when they log in. Also, I want them to be able to edit their profile.

the-dream
03-28-2007, 09:31 PM
When they register give them a unique id then on there charictor have in the url like:


myPage.php?id=0029837746465747

aedrin
03-28-2007, 09:35 PM
The best solution would be to use session variables to store the current user's character.

Then in the profile edit page you would look at the session, and use that to load up a form/etc. to manage it.

sirborder
03-28-2007, 09:39 PM
And how would I go about this? Sorry, but I am new at this.

aedrin
03-28-2007, 11:26 PM
http://us2.php.net/manual/en/ref.session.php



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum