Buona sera, sto realizzando uno script che mi mostri una funzione però se la checkbox è selezionata
codice:
<form action="action.php" method="post">
<label><input type="checkbox" name="chose[\'graphic\']" value="graphic"> Grafico</label>
<label><input type="checkbox" name="chose[\'skinner\']" value="skinner"> Skinner</label>
<label><input type="checkbox" name="chose[\'founder\']" value="founder"> Founder di un forum</label>
<label><input type="checkbox" name="chose[\'student\']" value="student"> Studente Universitario</label>
</form>
E per il codice ho fatto così, ovviamente le funzioni le ho create, solo che non mi mostra il contenuto nonostante io le abbia selezionate

Codice PHP:
$question $_POST['chose'];
if (isset(
$question['graphic'])) {
    
graphic_layout();
}
if (isset(
$question['skinner'])) {
    
skinner_layout();
}
if (isset(
$question['founder'])) {
    
founder_layout();
}
if (isset(
$question['student'])) {
    
student_layout();