Abnd,
$html = " <select name="myselect[]">\r\n";
foreach ($_options as $optionkey => $optiontext)
{
$html .= " <option value="$optionkey">".htmlspecialchars($optiontext,ENT_QUOTES)."</option>\r\n";
}$html .= " </select>\r\n";
Kleine Frage dazu:
foreach ($_options as $optionkey => $optiontext)
--> was genau wird hier gemacht?
mal davon abgesehen bekomme ich wenn ich das so einbinde folgenden Fehler: "Warning: Invalid argument supplied for foreach() in..."
Grüße aus Aachen
Benjamin