Monday, August 30, 2010

Re: Running sql queries in cake

Sorry Muthuvel, this doesn't directly answer your post but I noticed
you used the var_dump function in that last snippet. I just wanted to
let you know that there is a really nice debug() function that cake
provides that formats everything nicely and outputs similarly to
var_dump.


On Aug 29, 12:02 pm, Muthuvel Subramani <jmsmuthu...@gmail.com> wrote:
> hello Walter,
> actually i saved the query result variable and also included the Session
> Component in the controller. Actually when  i dump the variable i get
> in the view file:
> var_dump('max');
> in the controller:
> Array1Array

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 cake-php@googlegroups.com
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?hl=en

No comments: