How to insert multiple checkboxes into multiple columns using “0” or “1”

Hello,
I read here on DW
Click Here

I would like to know how to insert multiple checkbox values into multiple columns with values of "0" for no or "1" for yes. If possible I would like to keep them in an array such as:

    <input type="checkbox" name="animal_selection[]" value="tiger">
 <input type="checkbox" name="animal_selection[]" value="rabbit">
 <input type="checkbox" name="animal_selection[]" value="bear">
 <input type="checkbox" name="animal_selection[]" value="zebra">    

I am new to php and oop programming. I have multiple classes but I need a simple "animal" method to place in my animal class that will help me to allocate each animal to its own database column. Eg. if tiger is selected it needs to go to into animal_tiger as "1" while rabbit, bear, and zebra will go into animal_rabbit as "0", animal_bear as "0", animal_zebra as "0". I hope that makes sense. Thanks in advance.

A Review of DataWeave 2.0 Selectors

Introduction

With the introduction of Mule 4, MuleSoft has significantly revamped its functional data transformation language DataWeawe (DW for short), making it even more central to Mule development by having it replace the Mule Expression Language (MEL).  The switch from version 1.0 to 2.0 of DW has brought about many new features without changing the language structure. 

While it is true that non-trivial DW transforms will make use of operators that do structural message transformations on arrays and objects (map, mapObject, pluck, flatten, groupBy), it remains essential to select the right input data for these powerful operators to work on. This is the purpose of data selectors

Here are some top topics recommended just for you recommends deleted thread

Long Title: "Here are some top topics recommended just for you" email recommends a thread deleted two months ago.

"what are the feature of window 10" was in my email and that looks to have been removed two months ago. As a moderator I can get to it but is the code behind this in need of a little update to not recommend content that was removed? What about folk that don't have this superpower?

I'll forward this email back to you via email with comment.

In short:

  1. Received email from DW on 11/20/2019.
  2. Thought I'd read an item but discover it was apparently removed 2 months ago.

For a moderator, if this is how it works I won't complain (this is not complaining.) But if this happens to others they may wonder.

Update on DW usage

Just wondering how DW is doing re posts. I pass by from time to time and peruse the webdev forum. Apart from code snippets from Dani, I see very little new stuff. Am I missing something? Is it just that forum that's showing old posts? Even when I turn off the filter, it seems pretty quiet.