On Jan 11, 2008 8:26 AM, Made Aditiya Jaya <[EMAIL PROTECTED]> wrote:
> hi all i need help..
> how display result in view with $this->$Modelname->Query("select
> count(Customer.id) from customers as Customer"); ???
> i can't display the field that i count..Try giving an alias for the counted field and then do a print_r in your view to figure out what is the structure of the array HTH Tarique -- ============================================================= Cheesecake-Photoblog: http://cheesecake-photoblog.org PHP for E-Biz: http://sanisoft.com ============================================================= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
