if($mail->Send()) { $this->session->set_flashdata('Smessage','<span class="label label-info">Your request has been sent!</span>'); header("location:$baseurl/index.php"); } else { echo "Mailer Error: " . $mail->ErrorInfo; $this->session->set_flashdata('Fmessage','<span class="label label-info">Message could not sent.Please contact Administrator.!</span>'); header("location:$baseurl/index.php"); }
redirect('controller_name');
redirect('home');
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)