ich bekomms einfach nicht hin...
HILFE!
warum geth das
<pre>
<SELECT ID="wasda" NAME="Teile[]" SIZE=4 MULTIPLE >
<?$ini_array = parse_ini_file("teile.ini"
foreach($ini_array as $curr){
echo "<OPTION VALUE=\"$curr\">$curr</OPTION>\n";
}?>
</SELECT>
</pre>
aber das
<pre>
<?php
$antw = '<option value="ja">ja</option>\n<option value="nein">nein</option>';
?>
[...]
<tr valign="top"><td>Optionen:</td><td><select onchange="javascript:document.forms[0].ne.value = this.options[this.selectedIndex].value;" name="Teile[]" id="opt" SIZE=4>
<?php echo $antw;?>
</select></td></tr>
[...]
</pre>
nicht??
ich komm nicht drauf...
beim unteren ist $_POST["Teile"]; leer....
schon aml danke für lesen...
HILFE!
warum geth das
<pre>
<SELECT ID="wasda" NAME="Teile[]" SIZE=4 MULTIPLE >
<?$ini_array = parse_ini_file("teile.ini"
foreach($ini_array as $curr){
echo "<OPTION VALUE=\"$curr\">$curr</OPTION>\n";
}?>
</SELECT>
</pre>
aber das
<pre>
<?php
$antw = '<option value="ja">ja</option>\n<option value="nein">nein</option>';
?>
[...]
<tr valign="top"><td>Optionen:</td><td><select onchange="javascript:document.forms[0].ne.value = this.options[this.selectedIndex].value;" name="Teile[]" id="opt" SIZE=4>
<?php echo $antw;?>
</select></td></tr>
[...]
</pre>
nicht??
ich komm nicht drauf...
beim unteren ist $_POST["Teile"]; leer....
schon aml danke für lesen...
Comment