Utf8 convert

This commit is contained in:
2023-01-10 18:29:32 +02:00
parent 71b759232c
commit 90b9c8325e
3572 changed files with 35191 additions and 395614 deletions
-15
View File
@@ -1,15 +0,0 @@
<?php
require_once $_SERVER['DOCUMENT_ROOT'] . '/_incl_data/__config.php';
$learning = new Learming();
//set getLearningStatus to 0 and save
if ($_POST['hasLearned'] && $learning->hasLearned()) {
echo 'OK';
}
if ($_POST['getStatus']) {
// boolean
switch ($learning->getLearningStatus()) {
case 0: echo 'should not learn'; break;
case 1: echo 'should learn'; break;
default: echo 'error: no data'; break;
}
}