Hello world i have a big form with many checkboxes how i can make best initialization when i submit it to server.
I have a $_POST array, i need to check all parameters and send it to database. Can anybody say me the best method?
P.S. May be php supports constructions like this:
class
...
foreach ($_POST as $key=>$value)
{$this->$key=$value;}
Please help me with this
Thanks in advance