• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The form field dont appears

I'm new with CodeIgniter, i start by doing a login form, i have a login_form.php file :

    <div id="basic" class="myform">
            <span class="small">Add your login</span>

            <span class="small">Add your password</span>

        <div class="spacer"></div>

and into my main.php controller i do :


class Main extends Controller {

    function Main()
    function test()
        echo 'je suis un teste Yass';
    function index()

i alsow do in my autoload.php :

$autoload['libraries'] = array('database','session','form_validation');

$autoload['helper'] = array('url','form');

But when i brows to the form fields dosnt apears but all text is ok (Title, login, password)!

Can some one help please.


Do you have short tag support enabled? If your dead set on using short tags I would recomend changing the setting in your config/config.php file rewrite short tags to TRUE.


OK it's WOrking i just modifie php.ini file :
short_open_tag = Off


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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