justravis Posted July 2, 2007 Share Posted July 2, 2007 If i named checkboxes "check[]", is there a way to quickly get the value of check[1]? I tried $_POST[check[1]] & it didnt work. THANK YOU! Quote Link to comment https://forums.phpfreaks.com/topic/58144-foreach-required-for-_post-array/ Share on other sites More sharing options...
john010117 Posted July 2, 2007 Share Posted July 2, 2007 Try $_POST['check']['1'] or maybe $_POST['check'][1] Quote Link to comment https://forums.phpfreaks.com/topic/58144-foreach-required-for-_post-array/#findComment-288369 Share on other sites More sharing options...
justravis Posted July 2, 2007 Author Share Posted July 2, 2007 THATS AWESOME!!! It worked! I couldn't even find multi-dimensional $_POST or superglobal arrays mentioned in the manual. Quote Link to comment https://forums.phpfreaks.com/topic/58144-foreach-required-for-_post-array/#findComment-288384 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.