Update record form by username and password
Posted on 2009-05-14
I'm new to Dreamweaver and Iweb-dev, 'm sure I'm overlooking something really simple and need some help please. I have created a user login form, an update record form, a delete record form etc in Dreamweaver CS$. All the functionality is working fine but I'm stuck on something and can't seem to find an answer anywhere.
I would like users to be able to update their own records without the user_id.
Ideally I would like users to enter their username and password (as with the login form) then retrieve their own details by automatically populating the update record form so they can make their amendments then click update.
At the moment, the update record form can only be populated by linking to it from a user list and obviously I don't want an individual user to see all other users' details.
I'm guessing I'm missing something very simple but maybe that's because I am very simple!
In simple terms, I would like to use a user-defined variable(his/her own user_id) to populate the client record form and for that variable to be defined by entering username and password. (I hope that makes sense!).
Thanks in advance for any help you can offer.