Re: Creating a simple search form

2010-03-22 Thread aveev
people','action'=>'process')); >> } >> } >> >> function process() {} >> >> in process.ctp >> > echo $res; >> ?> >> when I key in the id in search.ctp and hit save button, the error message

Re: Creating a simple search form

2010-03-20 Thread Jeremy Burns
: > Notice (8): Undefined variable: res [APP\views\persons\process.ctp, line 5] > > In search function I set the query result to a variable named res, and > redirect to another controller action, which is process..From what I've read > in the manual, putting set method is t

Creating a simple search form

2010-03-20 Thread aveev
manual, putting set method is the way we pass data to the view so I think it should be ok, but the res variable is not recognized in process.ctp view... Any help would be greatly appreciated... Thanks in advance... -- View this message in context: http://old.nabble.com/Creating-a-simple-search-f