I have the basic MySQL database and PHP Members page created and working the way I want. What I want to do is add an option for each member to edit his/her own profile. I am not sure the best way to go about this with PHP, but I have considered a couple different options:
- (Preferred) Add a link that appears only on the entry for the member viewing the page. I assume this would require a cookie to identify the person viewing? But on what basis? What would be the best mechanism to use for the "Edit Profile" link to appear only on that member's entry? Is it even possible?
- (Probably more practical) Have the "Edit Profile" link appear on each member's entry, and use a password option so that only the member who "owns" that entry can actually change it. This, I think, would be less attractive, but easier and more doable, yes?
I should probably add that I am really new to all this MySQL and PHP stuff, and although I have already learned a lot, I know I have a WHOLE LOT MORE to learn! I am still very much a newbie!
Any tips or guidance will be GREATLY appreciated!
Thanks!
Chuck