Hello,
I’m a complete noob to PHP & SQL, though I’ve done lots of HTML, CSS and various OO coding in the past.
I run a forum using Flux BB’s software with a few tweaks. I’m looking to do much more with it but I simply don;t have the understanding yet.
I’ve acquired a few PHP eBooks and intend to start teaching myself.
For now, I need help with this.
This is basically an moderator option when editing a post, to do it ‘silently’, ie no record it has been edited. By default, the checkbox is set to silent, but my mods keep forgetting to uncheck it (I want people to know when they’ve been edited and by whom), so I want to set the default to ‘unchecked’.
[php]if ($is_admmod)
{
if ((isset($_POST[‘form_sent’]) && isset($_POST[‘silent’])) || !isset($_POST[‘form_sent’]))
$checkboxes[] = ‘’.$lang_post[‘Silent edit’].’
’;
else
$checkboxes[] = ‘’.$lang_post[‘Silent edit’].’
’;
}
[/php]
I believe it is in there somewhere but as a noob I can’t figure it out.
Thanks in advance.