Hello,
for the following options, I want to use variables like:
$switch = false;
$switch = true;
As Values for colums:
$col["hidden"] = false;
$col["hidden"] = true;
I think of using something like:
$col["hidden"] = $switch;
or:
$col["hidden"] = echo $switch;
However, it does not work, even if the variable byitself is working. But how do I integrate a variable as synonym for "true" or "false"? I plan to switch on or off a column by this variable.
Thanks for help
Mario
1 Answers
Your Answer