• Hello,

    I am building a plugin and I want to export a table I have created to a CSV. I know i can run the query:-

    global $wpdb
    $results = $wpdb->get_results('select * from ' . $wpdb->prefix . 'table');

    To get the results but how do i then export?

    Thanks

    Dave.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exporting to CSV’ is closed to new replies.