hi
please excuse the bad subject, i didnt know anything better than that ...
i still have problems with the form which loads itself on submitting and shows the items selected in the dropdown menu still selected.
as i tested this method of doing it, everything went fine...
but now nothing happens - the form is shown correctly and the variable is set, but the previous selected items are not selected..
this is thecode, could anyone please see if he finds an error?
i was looking at the code for a long time but didnt find anything wired...
tis is the first part of the form, second part looks the same, only with months to select..
<form name="form1" action="content.php" method="post">
von ';
$vt[]='1';
$vt[]='2';
$vt[]='3';
$vt[]='4';
$vt[]='5';
$vt[]='6';
$vt[]='7';
$vt[]='8';
$vt[]='9';
$vt[]='10';
$vt[]='11';
$vt[]='12';
$vt[]='13';
$vt[]='14';
$vt[]='15';
$vt[]='16';
$vt[]='17';
$vt[]='18';
$vt[]='19';
$vt[]='20';
$vt[]='21';
$vt[]='22';
$vt[]='23';
$vt[]='24';
$vt[]='25';
$vt[]='26';
$vt[]='27';
$vt[]='28';
$vt[]='29';
$vt[]='30';
$vt[]='31';
echo '<select NAME="tag1">';
for ($i = 0;$i < sizeof($vt);++$i)
{
$sel=$vt[$i];
if ($sel !== $tag1)
{
$select = "";
}else{
$select = 'selected';
}
echo '<option value=" ';
echo $sel;
echo ' " ';
echo $select;
echo " > ";
echo $sel;
echo "</option>";
}
echo '</select>';
(...)