Skip to main content
Participant
November 21, 2006
Question

CF Updating Database info

  • November 21, 2006
  • 1 reply
  • 305 views
Ok, hopefully I'll be able to describe this correctly because as much as I look I can't find a solution anywhere...

I have a database that has information about Alumni in a graduate program...I have created a simple search feature to display specific information from the database on a website ( http://maitcf.stockton.edu/finalprojects/final.cfm). It works fine....But...

What I would like to do is give the Alumni listed a chance to update their information...I was thinking of adding an "Edit" link in the results boxes that would take the user to a FORM where they could edit the information for that specific result...

So I want the FORM to populate with information in the database, and the user would change it or leave it the same, and when they submit the FORM all of the information overwrites what was in the DB....Is there any way to do this?
This topic has been closed for replies.

1 reply

Inspiring
November 21, 2006
Of course, this is the main reason for something like ColdFusion to
interact with database data.

But my first question to you is, are you going to let anybody edit
anybody else's records? That just sounds like a huge risk for abuse.
dsskinnerAuthor
Participant
November 21, 2006
I think I know how to password protect the edit pages....I want to get it to work before I worry about securing it...We'll cross that bridge later and probably with some more eye gouging...

--on a side note--

Is it a strange coincidence that the 1st response I get from this question comes from someone with the same last name...