|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-10-30 20:32 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 28 13:00:02 2025 UTC |
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!