Go Back   Dreamweaver Club Forums > Hand Coders Forum > PHP
Register FAQ Members List Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 08-28-2011, 02:34 AM   #1
Join Date: Aug 2011
Posts: 3
Default Update REcords

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)
coolcatkelso is offline   Reply With Quote
Old 08-29-2011, 12:41 AM   #2
edbr's Avatar
Join Date: Aug 2005
Location: Bali
Posts: 11,203

how are you passing the user id?
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 10:06 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com