Problems with multim.arrays in Forms

From: Date: Tue, 22 Apr 2003 15:42:32 +0000
Subject: Problems with multim.arrays in Forms
Groups: php.general 
Request: Send a blank email to php-general+get-144957@lists.php.net to get a copy of this message
Hi evrybody, when i send a form to my php-script like this: <select name="rx[<?=$i?>][anrede]"> <option>Anrede</option> <option value="Herr" <? if ($tmp['anrede'] == "Herr") echo "selected" ?>>Herr</option> <option value="Frau" <? if ($tmp['anrede'] == "Frau") echo "selected" ?>>Frau</option> </select> <input name="rx[<?=$i?>][name]" type="text" size="35" maxlength="50"> in my $_REQUEST variable i only get the first entry back. the second field shows only the entered string without the first 10 chars. I don't see my mistake. Where is it ? Torsten

« previous php.general (#144957) next »