Trying to setup a vb option setting with tick boxes in it. I took some code from a setting that already had them and implemented it into my own, but now I'm getting this wacky error:
Code:
Fatal error: Unsupported operand types in \includes\adminfunctions_options.php on line 229
This is the code I'm using:
PHP Code:
<fieldset>
<legend>options</legend>
<input type=\"hidden\" name=\"setting[$setting[varname]][]\" value=\"0\" />
<div class=\"smallfont\"><label for=\"option1\"><input type=\"checkbox\" name=\"setting[$setting[varname]][]\" value=\"1\" id=\"option1\" " . iif(bitwise($setting['value'], 1), 'checked="checked"') . " /><b>option 1</b></label></div>
<div class=\"smallfont\"><label for=\"option2\"><input type=\"checkbox\" name=\"setting[$setting[varname]][]\" value=\"2\" id=\"option2\" " . iif(bitwise($setting['value'], 2), 'checked="checked"') . " /><b>option 2</b></label></div>
</fieldset>
What am I missing here? TIA for any help.