Monday, October 31, 2011

CakePhp - Array to find conditions

This here is the query that the system does to collection types:

[PHP] CakePHP - Consultation with or without conditions http://pastebin.com/aBazvz4D

Now I'm trying to do a calculation to play in conditions of a second
consultation, which depends on the results of the first.

CakePHP - Second consultation with or without conditions http://pastebin.com/xiwJJYdh

The thing here is this: these queries must return a single block at
the end of consultations.

He had no other way to perform this calculation because it depends on
the data first.

Any suggestions?

--
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: