Welcome Guest, Not a member yet? Register   Sign In
form set_value() not working ,,,,
#1

[eluser]Unknown[/eluser]
Hi ,

Im new to codeigniter and this is my first post.

This is part of my code.

Code:
<td>Brand Name &lt;?=$brand_name?&gt;
        &lt;input type="text" name="txf_brand" id="txf_brand" value="&lt;?php echo set_value('txf_brand', $brand_name); ?&gt;" /&gt;&lt;/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


Messages In This Thread
form set_value() not working ,,,, - by El Forum - 11-30-2010, 07:31 AM
form set_value() not working ,,,, - by El Forum - 11-30-2010, 10:51 AM
form set_value() not working ,,,, - by El Forum - 11-30-2010, 11:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB