On 28-Apr-06, at 5:21 PM, BoBB wrote:

> One thing you can do make sure is right after you pull that info  
> from the DB do a var_dump on the array, wrap it in pre html tags to  
> make it easier to read and disect the array it is returning.

Note that Cake provides a pr() function which will give you a print_r 
() dump of a variable wrapped in pre tags. the pr() function will  
also not print anything if DEBUG > 0, so you don't have to worry  
about stripping it out for deployment.

scott.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to