Welcome Guest, Not a member yet? Register   Sign In
Styling CI form_input
#4

[eluser]doubleplusgood[/eluser]
Hi,

I tried the way from the user guide first, but it gave an undefined variable error.

Using the following code in the view;
Code:
<?=form_input($data);?>

and the following code in controller;
Code:
$data = array(
                'name' => 'last_name',
                'class' => 'text',
                'value' => 'last_name');


Messages In This Thread
Styling CI form_input - by El Forum - 09-23-2009, 01:16 PM
Styling CI form_input - by El Forum - 09-23-2009, 01:25 PM
Styling CI form_input - by El Forum - 09-23-2009, 01:25 PM
Styling CI form_input - by El Forum - 09-23-2009, 01:48 PM
Styling CI form_input - by El Forum - 09-23-2009, 02:11 PM
Styling CI form_input - by El Forum - 09-23-2009, 02:20 PM
Styling CI form_input - by El Forum - 09-23-2009, 03:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB