• 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.

    https://www.ads-software.com/extend/plugins/gwa-db-editor/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author pomspot

    (@pomspot)

    The plugin uses $wpdb which is using the blog database. It would need to be updated significantly to access externals.

    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…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: [GWA] db Editor] GWA db editor for other databases’ is closed to new replies.