phpredmin
phpredmin copied to clipboard
Add drop-down with available databases for Move operation
We have "Move" and "Move all" functionality for the keys.
I think it would be nice to have drop-down with available databases here instead of plain text field
Good idea
This was one of my other purposes for setting max_databases
. Never got around to doing it tho. I can get started on this once pull request for new modals #47 is resolved.
Actually... You could move data to a database that has not been initialized yet. So really you can enter any number that is not above max_databases
. Moving a key to a DB is one way I used when initializing my database through PHPRedmin before I added a Add DB thing...
Would a dropdown be good for this (I know we kinda discussed it and it's relasion to large number of databases before)? Or perhaps a radio button to choose between current DB and new DB, and change the dropdown options from there? Or a simple message saying what the max_databases
is and to not select a integer higher than that?
@blitzmann, you can't move key to the same DB, only to another
True, I overlooked that. Still, you can move the key to any DB that is not the current and that is included in max_databases
. Just need to decide to to present that information.
Sorry guys. I had to take an IELTS exam. Thus, I needed to study :) Anyway, I believe it would be a better idea to just have a text input with validation.