PHP code example of myiyk / checkboxtree
1. Go to this page and download the library: Download myiyk/checkboxtree library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
myiyk / checkboxtree example snippets
$form->addCheckboxTree(
"cbtree",
"CheckboxTree",
array(
1 => "item1",
2 => "item2",
3 => "item3",
"noid1" => array(
4 => "item4",
5 => "item5",
),
6 => "item6"
)
);