So, that’s way over my head.
Maybe this is a simpler question, I’ve searched the forms, couldn’t find any answers.
How do I echo the checked=”checked” values?
this and similar codes don’t do the trick.
<?php if( isset($_POST['_sft_arrangementstype']) && is_array($_POST['_sft_arrangementstype']) ) {
foreach($_POST['_sft_arrangementstype'] as $fruit) {
// eg. "I have a grapefruit!"
echo "I have a {$fruit}!";
// -- insert into database call might go here
}
// eg. "apple, grapefruit"
$fruitList = implode(', ', $_POST['_sft_arrangementstype']);
// -- insert into database call (for fruitList) might go here.
}?>