My multi-dimensional array is working. But I cannot seem to use explode or in_array to limit the array when calling via $_GET
explode
in_array
$_GET
Your col-Variable contains a number (1, 2 or 3) But the explode-call returns an Array containing words (green, blue, orange)
Even though PHP could handle the cast from 1 to "1", it can not cast from 1 to "green".