Jump to content

PHP/Mysql record update


cjacks

Recommended Posts

I am totally new to PHP. I have tried in vein to understand how it works. I am so frustrated. I know how to make a database and a table. I know how to make a form that will in put data into the table. I know how I can make a record set that an "admin" can view and update each record by selecting the record to update (sending a $id via the URL line to the script as the record to update. But for the life of me I can not figure out how to write a form/script that would allow a single user to log on and update thier specific record.

Please I need help with this. I have tried for countless days to get this to work with no success. My bigest problem is the update form. Not an admin type form that an admin can update any record from, but a single user form that only that user can update (except the admin) of course.

As I understand it, this is best acomplished with sessions.

Any small script examples to this would be a great help!!

Register/Login/View Account/Update Account

Please help this is driving me crazy!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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