hi i want to save with the for loop why because i don“t know how to save
this in other why to my DB.

i save it like this:

 for($i=0;$i<$counted_katId;$i++) {

$save_product = $this->Kattaxonomie->save($this->Kattaxonomie->set(array(

'kat_id' => $this->data['Kattaxonomie']['kat_id'][$i],

'product_id' => $this->Product->id

)));

}



it works but not well because it saves only the last one...

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