the following code gives me an error. I want to call a function and pass a parameter to it with php codeigniter.
redirect(base_url() . 'MainController/Student_Login($user_email)')
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.
redirect(base_url() . 'MainController/Student_Login/.$user_email.')
Please Help.