diff --git a/cgi-bin/uebung09/questions-edit.php b/cgi-bin/uebung09/questions-edit.php index 6aa0f3c..d5aabfe 100644 --- a/cgi-bin/uebung09/questions-edit.php +++ b/cgi-bin/uebung09/questions-edit.php @@ -25,7 +25,13 @@ echo << END; - echo(''); + if ($sol == 0) { + //checked + echo(''); + } else { + //unchecked + echo(''); + } echo << @@ -34,7 +40,14 @@ echo <<Antwort 1:
END; - echo(''); + + if ($sol == 0) { + //checked + echo(''); + } else { + //unchecked + echo(''); + } echo << @@ -43,7 +56,14 @@ echo <<Antwort 2:
END; - echo(''); + + if ($sol == 0) { + //checked + echo(''); + } else { + //unchecked + echo(''); + } echo <<