i have this array:

Array
(
    [Usercat] => Array
        (
            [subcat_id] => Array
                (
                    [0] => 3
                    [1] => 1
                )

            [user_id] => 7
        )

)

if i have subcat array i cant use this for save all data for one user:

$this->Usercat->create();
                        if ($this->Usercat->save($this->data)) {
                                $this->Session->setFlash(__('اyes, true));
                                $this->redirect(array('action' => 'index'));
                        } else {
                                $this->Session->setFlash(__('no', true));
                        }

and i want save all data for one user,what i am must to do?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en

Reply via email to