[eluser]pickupman[/eluser]
What is an example of the code you are using? Passing variables from your controller is done by adding the variables to an associative array ie:
Code:
//Your controller Controller.php
$data['name_label'] = 'Name';
$data['name_value'] = 'My Name';
$this->load->view('form_view',$data);
Passing the $data array to the view, makes the array's keys availabe as variables in the view.
Code:
//Your view form_view.php
<label for="name"><?=$name_label;?></label>
<input name="name" type="text" value="<?=$name_value;?>" />
Produces:
Code:
//Renders in the browser
<label for="name">Name</label>
<input name="name" type="text" value="My Name" />