Hi
Das geht noch n bisschen einfacher. Außerdem hab ich das xml-konforme <?php-Starttag genommen. Jez is auch der aktuelle Style selected:
___PHP0___
<html>
<head>
<title>Styleswitcher</title>
<link rel="stylesheet" type="text/css" href="style___PHP1___.css">
</head>
<body>
<img src="kopf___PHP2___.jpg" alt="header">
<form method="post" action="index.php" name="formularstyle">
<p><select name="auswahl" size="1">
<?php
for($i=1;$i<=3;$i++):
if($i==$style)
echo "<option value='$i' selected>Style $i </option>';
else
echo "<option value='$i'>Style $i </option>';
endfor;
?>
</select></p>
<p><input type="submit" name="stylewahl" value="Style wählen"></p>
</form>
</body>
</html>
mfg
Genie