• We created a new plugin and anew table.we cant take back the values from the table.We can take back the values from other tables, that already in WordPress.
    PLZ HELP
    the code is
    function displayWorks() {
    global $wpdb;
    $recentworks = $wpdb->get_results( “SELECT * FROM $wpdb->works”,ARRAY_A);
    print_r( $recentworks );
    }

  • The topic ‘cant able to select values from custom table using wordpress plugin’ is closed to new replies.