Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
zend には複数のチェックボックスがあります。それらをチェックするとデータベースに挿入されます。それを配列として使用し、for each を使用してそれらを分割する方法です。モデルでこれを行いたいデータベースに挿入します。
コントローラーで配列を取得できます。
$chkArr=$this->_getParam('chkboxName');
これを取得したら、この配列をモデルに渡すことができます。要件に応じて、モデルまたはコントローラーでカウントなどを確認できます。