$count = $this->Model->find('count');

On Sun, Feb 8, 2009 at 12:04 PM, amarradi <[email protected]> wrote:

>
> Hello together,
>
> I've an existing DB-Table and i want to count the rows. In PHP without
> cake i do 'select count * from Tablename'. How do i this with cakePHP
> 1.2?
> Thanks a lot
>
> many greetings
>
> Marcus Radisch
>
>
> >
>


-- 
Sincerely yours,
Olexandr Melnyk
http://omelnyk.net/

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