[insert_php]
global $wpdb;
$todelete=$_GET[‘gem’];
$formid=$_GET[‘formno’];
$uem=$_GET[’emailid’];
echo $todelete;
$table = ‘wp_fsq_data’;
$wpdb->delete( $table, array( ‘id’ => $todelete ) );
$table = ‘wp_fsqm_direct_’.$formid;
echo ‘The table is ‘.$table;
$wpdb->delete( $table, array( ‘data_id’ => $todelete ) );
[/insert_php]