|
Learning with Texts - Fork
2.10.0-fork
Learn foreign languages with texts
|
Edit term while testing. More...
Namespaces | |
| Lwt | |
Variables | |
| $translation_raw = repl_tab_nl(getreq("WoTranslation")) | |
| if($translation_raw=='') | else |
| $lang = null | |
| $message = '' | |
| $rom = null | |
| $sentence = null | |
| $status = null | |
| $term = null | |
| $transl = null | |
| $wid = null | |
| if($wid=='') | $sql = 'select WoText, WoLgID, WoTranslation, WoSentence, WoRomanization, WoStatus from ' . $tbpref . 'words where WoID = ' . $wid |
| $res = do_mysqli_query($sql) | |
| $record = mysqli_fetch_assoc($res) | |
| $termlc = mb_strtolower($term, 'UTF-8') | |
| $titletext = "Edit Term: " . tohtml($term) | |
| $scrdir = getScriptDirectionTag($lang) | |
Edit term while testing.
Call: edit_tword.php?.... ... op=Change ... do update ... wid=[wordid] ... display edit screen
PHP version 8.1
| if ( $record) else |