• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Creating the Update Page

After the administrator makes changes to call details via the form admin_edit.cfm, she'll hit the "submit" button, which will post the edited data to the ACTION page we'll now create, update.cfm.

To create this page, you'll use ColdFusion's <CFUPDATE> tag. <CFUPDATE> requires that one of the fields you post to it be the table's primary key, in this case, the ID field. It searches the table for the record matching the specified ID and updates the other fields using the text you supply.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint