Bonsoir, this php
abc.php: $ergebnis = $mysqli->query("SELECT * FROM farbe"); while ($zeile = $ergebnis->fetch_object()) { $typen[farben][][kuerzel] = $zeile->kuerzel; $typen[farben][][bez] = $zeile->bez; } and html abc.html: <fieldset> <legend>Farben</legend> <span tal:repeat="farbe typen/farben"> <input type="checkbox" tal:attributes="name farbe/kuerzel; id farbe/kuerzel" /> <label tal:content="farbe/bez" tal:attributes="for farbe/kuerzel">Weiß!</label> </span> </fieldset> throws exception 'PHPTAL_Exception' with message 'Unable to find array key "bez" in path "bez"' exception 'PHPTAL_Exception' with message 'Unable to find array key "kuerzel" in path "kuerzel"' What's going wrong here? TALs "path:" generally accesses php arrays without any problem. I'm somehow blind at the moment. Thanks for enlightenment. xel -- Wir verwenden ausschließlich blaue Elektronen aus biologischem Anbau. _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal