[Phpmyadmin-devel] Insert in addition to edit

Olivier M. qmail at orion.8304.ch
Sun May 6 11:39:23 CEST 2001


On Sun, May 06, 2001 at 01:34:35AM -0700, Korakot Chaovavanich wrote:
> I have already implement it (3 lines : >).
> From the edit page, now we can insert the data
> as a new row as well.

great, thanks :) 
Another usefull function would be a "save and re-use" or
"save and clone" : it would save the edited data, and directely
open an insert form, but filled with same same data
(maybe without filling the auto_increment field if any?).

And this "clone" link could also be placed at the side
of the already existing "Edit" and "Delete" on the browse table view:
that would be perfect for example while editing the 
user table from db mysql, to add another user with the same
privilieges as another one. 

Do you see what I mean ? I'll have some exams the following
days, not time to work on it yet, but I guess it's also not
very complicated.

> I reuse the string $strInsertNewRow.
> Wonder if I should add a new string $strSaveAndInsert
> instead.. What do you think?

Yes, that would be usefull... you can than also directely
add the $strSaveAndClone :)

Have a nice sunday,
Olivier
-- 
_________________________________________________________________
 Olivier Mueller - om at 8304.ch - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch




More information about the Developers mailing list