Title: Export CSV without ID column?
Last modified: August 22, 2016

---

# Export CSV without ID column?

 *  Resolved [botguy](https://wordpress.org/support/users/botguy/)
 * (@botguy)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/export-csv-without-id-column/)
 * Great plugin! I need to export a list in an exact manner, and it automatically
   includes the ID of the users in column 1.
 * Is there a way to not export the id column?
 * Thanks!
 * [https://wordpress.org/plugins/amr-users/](https://wordpress.org/plugins/amr-users/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/export-csv-without-id-column/#post-5354953)
 * Hi botguy,
 * you’re probably right, it shouldn’t be there unless requested.
 * Change has been quickly tested and will be in next update.
 * **In the interim** you could do the following:
 * in function amr_lines_to_csv around about line 140 is
    `array_walk($lines,'amr_undo_db_slashes');`
 * add this code after that line:
    `array_walk($lines,'amr_remove_ID_from_front');//
   REMOVE technical ID`
 * AND above that function, add
 *     ```
       function amr_remove_ID_from_front (&$line) { //its a csv line.  Find first comma and strip till after comma
       	$line['csvcontent'] = substr($line['csvcontent'], strpos($line['csvcontent'],',')+1);
       }
       ```
   
 *  Thread Starter [botguy](https://wordpress.org/support/users/botguy/)
 * (@botguy)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/export-csv-without-id-column/#post-5355000)
 * Awesome! Thank you!
 *  Thread Starter [botguy](https://wordpress.org/support/users/botguy/)
 * (@botguy)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/export-csv-without-id-column/#post-5355001)
 * Resolved!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Export CSV without ID column?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amr-users_f6f6f4.svg)
 * [amr users](https://wordpress.org/plugins/amr-users/)
 * [Support Threads](https://wordpress.org/support/plugin/amr-users/)
 * [Active Topics](https://wordpress.org/support/plugin/amr-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amr-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amr-users/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [botguy](https://wordpress.org/support/users/botguy/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/export-csv-without-id-column/#post-5355001)
 * Status: resolved