"General information", 2 => "Sales / Advertising Information", 3 => "User Feedback and Comments", 4 => "Editorial Tips and Article Ideas", 5 => "Technical Problems, Bugs and Error Reports", ); if(empty($errors)) { $topic = ($topics[$_POST['topic']]) ? $topics[$_POST['topic']] : $topics[1]; $to = 'helpdesk@rvguide.com'; $subject = "{$topic}"; $from = "From: {$_POST['contactemail']}"; $content = <<