in reply to Perl or php for database edits?

Perl, no questions. DBIx::HTMLView looks like it would be a good starting point for this project

DBIx::HTMLView - For creating web userinterfaces to DBI databases.