Viewing 1 replies (of 1 total)
  • Plugin Author bobbysmith007

    (@bobbysmith007)

    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.