From: martijn at fenomedia dot com
Operating system: FreeBSD 4.8
PHP version: 4.3.4RC3
PHP Bug Type: *General Issues
Bug description: Select Multiple $BID[] issn't set?

Description:
------------
I have two select boxes, to link news items.


Reproduce code:
---------------
Article name

All articles:
<form method=post action="<?=$_SERVER['PHP_SELF']?>">
<select name="nid" multiple size=10>
<option value=1>Article name
<option value=2>Article name
</select>

Linked articles:
<select name="bid[]" multiple size=10>
<option value="1>Article name
</select>
</form>

on the top of the page i do a
if (isset($_POST['BID']))
{
' it never get's here!!
$tmp = $tmp = $_POST['BID'];

}
else
{
' I print the form
}





Expected result:
----------------
$tmp = $_POST['BID'];

should contain an array of id's...

Actual result:
--------------
$tmp = $_POST['BID'];

Notice: Undefined index: BID

even with the following option in php.ini
always_poulate_raw_post_data

I'll get only the NID!

--
Edit bug report at [url]http://bugs.php.net/?id=26044&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=26044&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=26044&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=26044&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=26044&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=26044&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=26044&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=26044&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=26044&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=26044&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=26044&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=26044&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=26044&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=26044&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=26044&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=26044&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=26044&r=float[/url]