I am writing a plugin for wordpress.
function dbpresent_admin() {
include('default.php');
}
function dbpresent_admin_actions() {
add_management_page("DB Presentor", "DB Presentor", 1, "db_presentator", "dbpresent_admin");
}
add_action('admin_menu', 'dbpresent_admin_actions');
it is the portion of the code where I am trying to diplay content from default.php file but when I click on the menu item in wordpress it opens the page but does not display any data, kindly help me out
default.php
file, can you show us in pastebin.com – jogesh_pi