";
$text .= "ok, so you want to delete some records? not a problem at all!
";
$text .= "but, since this is still an experimental procedure, i won't actually delete anything
";
$text .= "instead, i will show you the queries that would be performed
";
$text .= "
";
foreach($_POST['del_dbrec'] as $k=>$v){
if($k=='rate'){
$keys = implode(", ", array_keys($v));
$qry .= "DELETE * FROM rate WHERE rate_id IN (".$keys.")
";
}elseif($k=='comments'){
$keys = implode(", ", array_keys($v));
$qry .= "DELETE * FROM comments WHERE comment_id IN (".$keys.")
";
}
}
$text .= $qry;
$text .= "
";
$ns->tablerender($caption, $text);
return;
}
if(!isset($_POST['check_verify_sql_record'])){
//select table to verify
$text = "