if (isset($_POST['rpg_name_int'])) { $db->query_write( "UPDATE ". TABLE_PREFIX ."thread SET rpg_name_int = '1', WHERE threadid = '" . $vbulletin->threadinfo['threadid'] . "' ); }