I am new to Yii framework and I am having trouble with retrieving data from my form. In my controller I wrote:
$request = Yii::app()->request;
$form = $request->getPost('createProjectForm');
var_dump($form);
Whenever I submit, the form is null. However, if I var_dump($_POST), I still get the values. Can anyone tell me what is wrong? Thank you very much and sorry for my bad English.
this is the getPost function and it returns the $_POST array
could you tell what is the result of this code in your action