Welcome Guest, Not a member yet? Register   Sign In
Forms - set_value driving me mad!
#2

[eluser]Harold Villacorte[/eluser]
I was never able to get it to work that way. It will work like this though and with less code:
Code:
<?php echo form_open('register/submit') ;?>

<label for="username">Username:</label>
&lt;input type="text" name="username" value="&lt;?php echo set_value('username') ;?&gt;" /&gt;

<label for="password">Password:</label>
&lt;input type="password" name="password" value="" /&gt;

&lt;?php echo form_submit('submit', 'Login') ;?&gt;

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


Messages In This Thread
Forms - set_value driving me mad! - by El Forum - 02-13-2013, 05:49 PM
Forms - set_value driving me mad! - by El Forum - 02-14-2013, 02:03 AM
Forms - set_value driving me mad! - by El Forum - 02-14-2013, 03:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB