if(!empty($data) {}
is enough
as it does not contain anything if there haven not been any found
records


On 18 Feb., 17:06, vikas <[email protected]> wrote:
> Ya you are right.. my problem is solved..
> thanx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to