bkneppers
Member
Posted 1 year ago #
This plugin works great, works well right out of the box, and is simple in use.
I have a separate database on my server that I would like to edit in the same way (not the WordPress database), as this is much easier to use than myphpadmin. Would it be possible for me to edit the plugin to edit that database instead of the WordPress database itself? How would I achieve this?
Any help would be greatly appreciated.
http://wordpress.org/extend/plugins/gwa-db-editor/
pomspot
Member
Posted 11 months ago #
The plugin uses $wpdb which is using the blog database. It would need to be updated significantly to access externals.
mahira
Member
Posted 10 months ago #
Hi pomspot, I have replaced lines 54 and 55 with the code below;
foreach ($tables as $t) {
echo '<option value="'.$t->$database.'"';
if ($_POST['db_gwa_selected'] == $t->$database) { echo ' selected'; }
echo '>'.$t->$database.'</option>'."\n";
}
This will display the current table in the table edit screen...If you like it, maybe you'll add it to future versions ?
Thanks for this great plugin...