[eluser]Jbeasley6651[/eluser]
I am using ci's form helper.
I am making a search on my site and i have a search box on the home page and then the same search box on the results page. (for the ability to refine the search)
What is the BEST way to pass this information from one form to the other?
Search box code
Code:
<?=form_open('search/results',array('id' => 'searchForm'))?>
<p>
<label>Bedrooms</label>
<?php echo form_dropdown('beds', $numop);?>
</p>
<p>
<label>Bathrooms</label>
<?php echo form_dropdown('baths', $numop); ?></p>
<p>
<p>
<label>Price Minimum</label>
<?php echo form_dropdown('price_min', $prices, '50000'); ?></p>
<p>
<p>
<label>Price Max</label>
<?php echo form_dropdown('price_max', $prices, '2500000'); ?></p>
<p>
<p>
<label>MLS ID</label>
<input type="text" name="mlsid" value="" size="50" />
</p>
<p>
<label>City</label>
<input type="text" name="city" value="" size="50" />
</p>
<p>
<input type="submit" value="Submit" class="btn" />
</p>
</form>
Thanks in advanced.
~ Jbeasley