How do I submit a form using the form helper and have the reply of that submission have a url with what was searched for?
I submit this code:
<?php echo $form->create('Search', array('action' => 'results', 'type' => 'post')); ?>
<?php
$options = array
(
'size' => 45,
'id' => 'search',
'tabindex' => 1,
'maxlength' => 250
);
echo $form->text('Search.query', $options);
?>
So when I submit the form with the words "Hello World", I want the resulting url to be:
[domain]/searches/results/Hello+World