Jump to content


Photo

PHP/Mysql record update


  • Please log in to reply
No replies to this topic

#1 cjacks

cjacks
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 09 June 2006 - 11:30 PM

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!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users