VokabelBox
Mein Account
Meine Noten
Suchen
Hilfe
Ausloggen

'" title="Aktuelle Lern-Session beenden und zur Übersicht zurückkehren">Beenden
query($sql); $true = mysqli_num_rows($result_articles); $sql = "SELECT * FROM `VokabelBoxVokabeln` WHERE (`Nutzername` = '$Benutzername') AND (`ID` = '$folderID') AND (`Session` = '3')"; $result_articles = $conn->query($sql); $false = mysqli_num_rows($result_articles); $total = $false + $true; $_SESSION["action"] = '2'; $_SESSION["total"] = $false; $true_p = ('100' * $true) / $total; $false_p = ('100' * $false) / $total; $true_p = number_format($true_p, 0); $false_p = number_format($false_p, 0); print( "

Dein Ergebnis:
$true | $false


$true_p%



"); $_SESSION["total"] = $false; if($false != '0') { ?> query("UPDATE `VokabelBoxVokabeln` SET `Session` = '3' WHERE (`Session` = '4') AND (`Nutzername` = '$Benutzername') AND (`ID` = '$folderID')"); $true_p = ('100' * $true) / $total; $false_p = ('100' * $false) / $total; $true_p = number_format($true_p, 0); $false_p = number_format($false_p, 0); print( "

Dein Ergebnis:
$true | $false


$true_p%



"); $_SESSION["true"] = '0'; $_SESSION["false"] = '0'; $_SESSION["action"] = '2'; $_SESSION["total"] = $false; if($false != '0') { ?>
Impressum