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

[eluser]guillermo, out of repose[/eluser]
how are you loading the view? If you're setting $data in the controller, then you need to load the view this way in your controller (also in the user guide):

[pre]
$data = array(
'name' => 'last_name',
'class' => 'text',
'value' => 'last_name');

$this->load->view('your_view', array('data'=>$data));
[/pre]


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