• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
form redirection

#1
hi guys,

Hope you are all fine.
starting with CI, i have a quick question.
in my controllers, i have contact.php with this code:

PHP Code:
$this->email->from($sender_name,$from);
        
        
$this->email->to('test@test.com');
         
        
$this->email->subject('Contact Us');
        
        
$this->email->message($template);
        
        
$this->email->send();
        
        
redirect('home'); 

my problem is the last line. i have a site in spanigh and english, how can i make rediction to spanish after submit ?
when we are in spanish and vice-versa?

thanks for your help
Reply


Messages In This Thread
form redirection - by yves - 04-18-2015, 06:53 AM
RE: form redirection - by gadelat - 04-18-2015, 09:08 AM
RE: form redirection - by yves - 04-18-2015, 09:27 AM
RE: form redirection - by yves - 04-18-2015, 09:28 AM
RE: form redirection - by mwhitney - 04-20-2015, 11:08 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.