Form Validation and Arrays |
How can I check if a post variable is an array?
If I try this: $this->form_validation->set_rules('data[]', 'Post Data', 'is_array'); It checks all the array elements with is_array. I want to check if 'data' is an array. Any ideas? Thanks, Brian |
Messages In This Thread |
Form Validation and Arrays - by coldlamper - 02-04-2016, 04:25 PM
RE: Form Validation and Arrays - by freddy - 02-04-2016, 07:53 PM
RE: Form Validation and Arrays - by Wouter60 - 02-05-2016, 08:36 AM
|