Welcome Guest, Not a member yet? Register   Sign In
CI Forms not working in WampServer...
#3

[eluser]Bart v B[/eluser]
This problem has nothing to do with short tags.
You need to echo something. Wink

Code:
<?php echo form_open('login/index/'); ?>

<h1>LOCAL Login Form:</h1>

&lt;?php echo form_fieldset('Login Form', $attributes); ?&gt;

  <div class="textfield">
  &lt;?php echo form_label('username', 'user_name'); ?&gt;
  &lt;?php echo form_error('user_name'); ?&gt;
  &lt;?php echo form_input('user_name', set_value('user_name')); ?&gt;
  </div>
  
  <div class="textfield">
  &lt;?php echo form_label('password’, 'user_pass')' ?&gt;
  &lt;?php echo form_error('user_pass'); ?&gt;
  &lt;?php echo form_password('user_pass'); ?&gt;
  </div>


  <div class="buttons">
  &lt;?php echo form_submit('login', 'Login'); ?&gt;
  </div>
  
&lt;?php echo form_fieldset_close() ?&gt;

&lt;?php echo form_close(); ?&gt;


Messages In This Thread
CI Forms not working in WampServer... - by El Forum - 09-17-2012, 01:36 PM
CI Forms not working in WampServer... - by El Forum - 09-17-2012, 01:59 PM
CI Forms not working in WampServer... - by El Forum - 09-17-2012, 07:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB