PDA

View Full Version : Update REcords


coolcatkelso
08-28-2011, 03:34 AM
Hiya guys

Trying to build a little Dbase that allows my employees to send me their timesheets online. I have the main index page, Insert, update & deletes, all done in php using Dreamweaver MX

Insert works treat

Delete works perfectly

Update, not so good

If I manually enter the "ID-User" ie 10 then continue to fill out the rest of the details, it will update, but if I hide the Id_User to allow the main page that shows all records and should allow the "User" to click on Edit and pass the details to the updater, then this fails 100%

Seems that dreamweaver isn't passing over the Key ID to the update page

Also, if the main page is like this

ID - Username - Password - DOB -
10 - Test 1- Admin - 23/05/1982 - Edit - Delete

If I click on the Edit link, should it not display the info above to allow an edit, instead when my edit/update does work manually, its just a blank page?

Any help will be great

To have a look - http://www.ridgeandgable.co.uk/DBase/ (Main Dataview)

edbr
08-29-2011, 01:41 AM
how are you passing the user id?