in reply to Perl and Database Input
The first form needs to insert a record. The second and subsequent forms need to update the record.
The hard thing is ensuring that the correct row gets updated. The code that handles the first form (the insertion) needs to generate a unique identifier which is inserted into the database record and also passed back in the HTML form for the second (and subsequent) forms.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|