if ($_POST['do'] == 'updatethreadopen') { blah blah }
if ($_POST['do'] == 'updatethreadopen') {/* blah blah */}