PHP CHECKBOX Array Issue

Posted by Val on Stack Overflow See other posts from Stack Overflow or by Val
Published on 2010-04-20T11:29:41Z Indexed on 2010/04/20 11:33 UTC
Read the original article Hit count: 254

Filed under:
|
|

I have a list of checkboxes like you would see in most email clients (You tick a box press delete then it deletes an email).

<input type="checkbox" value="yes" name="box[]" />

The problem stands here ...

print_r($_POST['box']);//Returns nothing at all ...

var_dump($_POST['box']);// returns null...

I was reading something about register globals that php5 has turned it off for security reason.

Does anyone know what my options are ?

© Stack Overflow or respective owner

Related posts about php

Related posts about checkbox