Title: table rows
Last modified: October 4, 2018

---

# table rows

 *  Resolved [eparry](https://wordpress.org/support/users/eparry/)
 * (@eparry)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/table-rows-2/)
 * hi
    How can I hide the table rows for users (but not delete in my admin panel)?

Viewing 1 replies (of 1 total)

 *  Plugin Author [bobbysmith007](https://wordpress.org/support/users/bobbysmith007/)
 * (@bobbysmith007)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/table-rows-2/#post-10753298)
 * Use the sql paramater to add_db_table and adda where clause:
 * Something like this:
 *     ```
         $sql =<<<SQL
            SELECT * FROM event_registrations 
            WHERE name='Only This One'
            ORDER BY date_entered DESC
       SQL;
         add_db_table_editor(array(
           'title'=>'Event Registrations',
           'table'=>'event_registrations',
           'sql'=> $sql
         ));
       ```
   
 * You probably should start with the readme file and the examples included in the
   examples directory
 * Cheers,

Viewing 1 replies (of 1 total)

The topic ‘table rows’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-db-table-editor.svg)
 * [WP-DB-Table-Editor](https://wordpress.org/plugins/wp-db-table-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-db-table-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-db-table-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-db-table-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-db-table-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-db-table-editor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [bobbysmith007](https://wordpress.org/support/users/bobbysmith007/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/table-rows-2/#post-10753298)
 * Status: resolved