Hi I am sorry if this has already been discussed, I cant seem to find it on the boards.....
anyway I have a settings script that saves settings to my config table. I am trying to add a checkbox so I can get a t (true) or f (false) for later referance.
The scripting I am trying to place it in is:
'items' => array (
array (
'type' => 'checkbox',
'name' => 'my_stuff',
'text' => $strMystuff
),
all ather variables in other arrays are stored as such:
if (isset($this_thingl))
SettingsWriteAdd('this_thing', $this_thingl);
if (isset($the_other))
SettingsWriteAdd('the_other', $the_other);
Now I have the checkbox on the page all I need to do is have a:
if (isset($my_stuff))
SettingsWriteAdd('my_stuff', $what goes here?????);
How do i get a checked or not checked and save without a lot more complicated scripting ?
Please forgive my ignorance, any help appreciated