• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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