| Posted by Jay Blanchard on 06/14/59 11:30 
[snip]I have some checkboxes on my page which correspond with boolean fields in my
 
 database - actually they are TINYINT's in which I store a 0 or 1 in for
 false and true values respectively.
 
 Is it possible to loop through all $_POST values to see if it is a checkbox?
 
 If so then for that element if it is equal to 'on' then change it to 1
 otherwise change it to 0?
 [/snip]
 
 Yes. And, if so, yes.
  Navigation: [Reply to this message] |