> Hello!
>
> Thanks for answer. The final code is here:http://bin.cakephp.org/saved/66911
> Now I'm getting "only" 2 of those queries, still dont know why the
> duplicate.
> About create(), I'm using it to reset model data, since saving within a
> loop.
> That's what the cookbook says too. But I'm open for any suggestion... :)
where in the book does it suggest doing create(find()); ?
why are you now passing false to create ..?
It's probably in your interest to check the api.
I hope you've only got a few members because that code doesn't look
like it's going to be very robust with a large amount of data. It's
also be quite hilarious to see how it acts if membersXmlArray is
empty :D
AD
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment