Welcome Guest, Not a member yet? Register   Sign In
Set value doesn,t return the value CI 2.0
#1

[eluser]JuanitoDelCielo[/eluser]
I have one form to search

Code:
<?php echo form_open($search); ?>
<fieldset>
&lt;?php echo form_label('q', 'Buscar', array('class' => 'a-hidden')); ?&gt;
&lt;?php
$input = array(
'class' => 'text fl',
'name'  => 'q',
'value' => set_value('q', 'Search')
);
echo form_input($input);
?&gt;
</fieldset>

And it works, and using the profiler I know the value

POST DATA
$_POST['q'] Search String

So the input field should have the search String but it always show Search

Any ideas?


Messages In This Thread
Set value doesn,t return the value CI 2.0 - by El Forum - 03-25-2011, 09:59 AM
Set value doesn,t return the value CI 2.0 - by El Forum - 03-25-2011, 10:42 AM
Set value doesn,t return the value CI 2.0 - by El Forum - 03-25-2011, 11:33 AM
Set value doesn,t return the value CI 2.0 - by El Forum - 03-25-2011, 12:11 PM
Set value doesn,t return the value CI 2.0 - by El Forum - 03-25-2011, 12:58 PM
Set value doesn,t return the value CI 2.0 - by El Forum - 03-28-2011, 01:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB