Wednesday, August 29, 2012

pass parametrs

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: