title: how to sent parameter in redirect - php codeigniter
body: <p>the following code gives me an error. I want to call a function and pass a parameter to it with php codeigniter.</p>
  
  <pre><code>redirect(base_url() . 'MainController/Student_Login($user_email)')
  </code></pre>
  
  <p>here MainController is the Controller name, Student_Login is the function $user_email is a variable that holds the user email id. I have also tried sending it through url. e.g.</p>
  
  <pre><code>redirect(base_url() . 'MainController/Student_Login/.$user_email.')
  </code></pre>
  
  <p>Please Help.</p>