Announcement

Collapse
No announcement yet.

Ich ticke aus...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ich ticke aus...

    ich bekomms einfach nicht hin...
    HILFE!
    warum geth das
    <pre>
    &lt;SELECT ID=&quot;wasda&quot; NAME=&quot;Teile[]&quot; SIZE=4 MULTIPLE &gt;
    &lt;?$ini_array = parse_ini_file(&quot;teile.ini&quot;
    foreach($ini_array as $curr){
    echo &quot;&lt;OPTION VALUE=\&quot;$curr\&quot;&gt;$curr&lt;/OPTION&gt;\n&quot;;
    }?&gt;
    &lt;/SELECT&gt;
    </pre>

    aber das
    <pre>
    &lt;?php
    $antw = '&lt;option value=&quot;ja&quot;&gt;ja&lt;/option&gt;\n&lt;option value=&quot;nein&quot;&gt;nein&lt;/option&gt;';
    ?&gt;
    [...]
    &lt;tr valign=&quot;top&quot;&gt;&lt;td&gt;Optionen:&lt;/td&gt;&lt;td&gt;&lt;select onchange=&quot;javascript:document.forms[0].ne.value = this.options[this.selectedIndex].value;&quot; name=&quot;Teile[]&quot; id=&quot;opt&quot; SIZE=4&gt;
    &lt;?php echo $antw;?&gt;
    &lt;/select&gt;&lt;/td&gt;&lt;/tr&gt;
    [...]
    </pre>
    nicht??
    ich komm nicht drauf...
    beim unteren ist $_POST["Teile"]; leer....

    schon aml danke für lesen...

  • #2
    ok keins markiert ich depp!
    dann muss ich vorher alle per JS markieren

    Comment

    Working...
    X