Forum Moderators: coopster
Just a quick ask:-
$SETTING_ARRAY = array();
$SETTING_ARRAY['on_off'] = "0";// set to 1 or 0 depending on what you want to come first..
define(CONSTANT_NAME, $SETTING_ARRAY['on_off']);
IS it possible to have the boolean part of this set from an array? Because as it is (with different names..) it doesnt seem to set the constant to either 1 or 0 when i set it through the array, yet the print_r function clearly shows the value is set.
Thanks,
Matthew