checkbox arrays

Associate
Joined
19 Jul 2006
Posts
1,847
using this code in a form
PHP:
 <input type="checkbox" id="area[]" value="SRF" /> SRF
  <input type="checkbox" id="area[]" value="eSafety" /> eSafety
  <input type="checkbox" id="area[]" value="Projects" /> Projects

and this to try to get info out the other end
PHP:
$area=serialize($_POST['area']);
echo $area;

but that just returns N;

what am i doing wrong

TIA
 
how would i make it into an array as when i want to enter the information into a database the values need to go into one feild
 
Back
Top Bottom