My users fill out form of "appointment information" that is entered in the db as a new appointment. I have a nearly identical script that allows them to modify appointment info that they previously entered.
Should I make one processing script for both of these and send extra vars to tell the script which query to perform, or should I keep it simple and use two separate scripts.
I'll have 10-15 pairs of such new/modify scripts. What do db programmers usually do?