Hi Bakers!
I have following problem in Cake:
I want to call requestAction('controller/action/param1/'.$param2);
-param1==pre defined string ( in my case "id" )
-param2==variable
In controller/action is defined function action($param1,$param2){ ... }
but if I call requestAction(...) then I get error: "Notice: Undefined
index: id in w:\www\cake1\controllers\tables_controller.php on line 35"
now: What am I calling explicitly
:$this->requestAction('/fields/add/id/'.$this->data['Table']['id']); to
action: function add($name,$tableid) {...} in Fields controller.
May I please someone to help me figure where is problem ? Is "id"
string cake reserved word ? Thanks a lot for any help !!!
Have a nice day :-)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---