Wednesday, August 29, 2012

Re: pass parametrs

http://book.cakephp.org/2.0/en/controllers.html#Controller::set

Paul

On 29 Aug 2012, at 19:59, Nareh Tarasyan <narehtarasyan@gmail.com> wrote:

How do you pass parameters from controlller to view?

For example:

 echo "<a href=\"magic.php?code=".$code."&var=".$i."&dif=".$dif."\" >".$i." "."</a>";
 How to do it in cake?

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

No comments: