title: How to delete a particular row in database table in wordpress using wpdb?
body: <p>I tried everything but I dont' know to delete a particular row in table in wordpress.</p>
  
  <p>Some one please help how to delete a particular row in a table and i am doing it wordpress plugin.</p>
  
  <p>Some people said use wpdb, but i dont know how to do it</p>
  
  <p>Here my code</p>
  
  <pre><code>&lt;table class="wp-list-table widefat fixed striped users" id="list" style="margin-top:10px;"&gt;
  &lt;tr&gt;
  &lt;th class="center"&gt;&lt;span&gt;ID&lt;/span&gt;&lt;/th&gt;
  &lt;th class="center"&gt;&lt;span&gt;Title&lt;/span&gt;&lt;/th&gt;
  &lt;th class="center"&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/th&gt;
  &lt;/tr&gt;
  &lt;?php 
  if(!empty($event_list))
  {
  $arrlen = count($event_list);
  for ($i=0; $i&lt;$arrlen; $i++)
  {
  ?&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;?php echo $event_list[$i]['id'] ?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;?php echo $event_list[$i]['title'] ?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;a class="delete" href="&lt;?php echo site_url();?&gt;/wp-admin/admin.php?page=newslist"&gt;Delete&lt;/a&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;?php
  }
  }
  else
  {
  ?&gt;
  &lt;td&gt;No Records Found&lt;/td&gt;
  &lt;?php }?&gt;
  &lt;/table&gt;
  </code></pre>