El Forum
11-30-2010, 07:31 AM
[eluser]Unknown[/eluser]
Hi ,
Im new to codeigniter and this is my first post.
This is part of my code.
Basically , i want to display the value passed from controller in a text field. Im setting the value for this ($brand_name) variable in the Controller. The correct value is displayed near "Brand Name". But not inside the set_value method. This is strange .. can anyone pls help me.
Thanks
Hi ,
Im new to codeigniter and this is my first post.
This is part of my code.
Code:
<td>Brand Name <?=$brand_name?>
<input type="text" name="txf_brand" id="txf_brand" value="<?php echo set_value('txf_brand', $brand_name); ?>" /></td>
Basically , i want to display the value passed from controller in a text field. Im setting the value for this ($brand_name) variable in the Controller. The correct value is displayed near "Brand Name". But not inside the set_value method. This is strange .. can anyone pls help me.
Thanks