ID: 26044
Updated by: [email]elmichaphp.net[/email]
Reported By: martijn at fenomedia dot com
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: FreeBSD 4.8
PHP Version: 4.3.4RC3
New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the doentation available at
[url]http://www.php.net/manual/[/url] and the instructions on how to report
a bug at [url]http://bugs.php.net/how-to-report.php[/url]

Use e.g. phpinfo() to see which variables are populated.
$_POST["bid"] is not the same as $_POST["BID"].


Previous Comments:
------------------------------------------------------------------------

[2003-10-30 13:59:23] martijn at fenomedia dot com

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 this bug report at [url]http://bugs.php.net/?id=26044&edit=1[/url]