<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<?php
include("./function1.inc.php");
$themen = array("AU"=>"Autos","FI"=>"Filme", "ES"=>"Essen", "SP"=>"Sport", "CO"=>"Computer");
?>
<html>
<head>
<title>Dynamische Mehrfach- Auswahl</title>
</head>
<body>
<form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post" name="form1">
<p><select name="thema[]" size="<?php echo count($themen) ?>" multiple>
<?php setze_hobbies($themen) ?>
</select></p>
<p><input type="submit" name="Submit" value="Submit"></p>
</form>
<?php form_ausgabe($_POST['thema'],$themen) ?>
</body>
</html>