Thanks for your reply Thiago.

But my problem was not solved.

My login page in this directory,

http://localhost/cake/posts/

named index.ctp

if i replace use your function then i got a following error.

Query: SELECT `Post`.`id`, `Post`.`username` FROM `posts` AS `Post`   WHERE
`username` = 's' AND `password` = 's'    LIMIT 1

My table name is Users but it refer Post . Post is my controller name.

Please clear my doubt. I dont know which place i did a mistake. how do i
refer my table named users

Regards,
Dhileep

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