Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How To pass two parameter in controller action in cake php?

Tags:

cakephp

Only pass the two parameter of controlle in action?

like image 941
ChiragPatel Avatar asked Feb 25 '26 00:02

ChiragPatel


1 Answers

mysite.com/myController/myAction/param1/param2

in controller:

function myAction($arg1,$arg2)
{...}
like image 168
Leo Avatar answered Feb 28 '26 05:02

Leo