if( request_var('pokerset', 0) == 1 ) { if( request_var('bettype', '') == 'null' || request_var('gmtype', '') == 'null' || request_var('hndtype', '') == 'null' ) { trigger_error('Please fill in all fields! Click the back button in your browser to return.'); } } if( !$submit && request_var('pokerset', 0) == 1 ) { $post_data['post_subject'] = '[' . request_var('bettype', '') . ' ' . request_var('gmtype', '') . ' ' . request_var('hndtype', '') . '] ' .utf8_normalize_nfc(request_var('subject', '', true)); $add_to_start_of_post = '[' . request_var('bettype', '') . ' ' . request_var('gmtype', '') . ' ' . request_var('hndtype', '') . '] '; $message_parser->message = $add_to_start_of_post . utf8_normalize_nfc(request_var('message', '', true)); }