Welcome Guest, Not a member yet? Register   Sign In
Forms not showing!

I'm new to CodeIgniter and i'm haveing a problem with the form. So first of all I loaded the form helper in config/autload.php
$autoload['helper'] = array('form');

I created a controller called auth.php in "controllers" folder
  class Auth extends CI_Controller
      function login()

and created a file named "login.php" that I placed in a folder named "auth" inside "view" folder

eMail: <?=form_input('email', set_value('email'))?>

Password: <?=form_password('password')?>

<?=form_submit('submit', 'Login')?>

but when I go to http://localhost/index.php/auth/login the only thing I see is the text without the forms.

Theme © iAndrew 2016 - Forum software by © MyBB