This is more of a problem for PHP than for JavaScript.
If you wanted a smooth transition (no need to submit the page to get the ability to change it) then you'll probably want to use Ajax. A more unweildy version (but easier to code) would just to put checkboxes next to each entry, allow the user to select which ones they want to edit, and then submit the page which'd generate a new one based on which boxes they checked.
Thanks for the suggestion.
I will look closer at AJAX. I understood AJAX to be the use of JavaScript, DHTML, PHP, etc. in comparison to Flash.
I am puzzled about your "This is more of a problem for PHP than for JavaScript."
Thinking the HTML would define field(s) initial state; JavaScript would adjust the field(s) state based upon user input.
JavaScript's onFocus and onBlur commands have been sketchy across browsers.
While using disabled would automatically remove record data during the save process. Readonly is good for text boxes but I'm using radio and listboxes too.
Considering onSelect for field highlighting; if I can't lock fields prior to use, I'll draw obvious attention to their selection. Maybe this will curve potential errors.
You may still use readonly and disabled and, onsubmit, return calling a function which will remove the disabled attributes, if any, of the elements, to be able to send all their values back to the DB:
Sure... This is the reason of a forum, I guess, to spread/share knowledge so that all of us we might be better and better all the time. Human race had/has no other option.