Hi All:
I look the  tutorial that Pagination for custom queries
(http://bakery.cakephp.org/articles/shird10/2010/08/29/pagination-for-
custom-queries)

I can search the data by use URL (example.com/forums/viewtopic/x/y/
page:2)
But I want to use Form(method is GET) to generate the url

<!-- ------search------ -->
<?php echo $this->Form-
>create('Order',array('action'=>'index','type'=>'get'));?>
<?php echo $this->Form->input('x');  ?>
<?php echo $this->Form->input('y');  ?>
<?php echo $this->Form->end(__('submit', true));?>
<!-- ------search------ -->

I press the summit button , I get the url is :
example.com/forums/viewtopic?x=AAAAAAA&y=BBBBBB

not example.com/forums/viewtopic/x/y/page:2
How to create the above Url by Form and method is GET

thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to