* @license Unlicense * @link https://hugofara.github.io/lwt/docs/php/files/delete-mword.html * @since 1.0.3 */ require_once 'inc/session_utility.php'; $showAll = getSettingZeroOrOne('showallwords', 1); $tid = $_REQUEST['tid']; $wid = $_REQUEST['wid']; $word = get_first_value("select WoText as value from " . $tbpref . "words where WoID = " . $wid); pagestart("Term: " . $word, false); $m1 = runsql('delete from ' . $tbpref . 'words where WoID = ' . $wid, ''); adjust_autoincr('words', 'WoID'); runsql('delete from ' . $tbpref . 'textitems2 where Ti2WordCount>1 AND Ti2WoID = ' . $wid, ''); echo "

OK, term deleted (" . $m1 . ").

"; ?>