Saturday, June 16, 2012

Re: how to fetch a particular field value from database table in a variable

You are comparing table data twice in your conditions(FYI).
For fetching data , just simply take user param from data array and fetch it by ny find function accordingly. 

On Friday, June 15, 2012 3:13:20 PM UTC+5:30, sneha kulkarni wrote:
hi i m new in cakephp.
when user login  i want to fetch branch name  field  value in variable from logins table of that particular user to compaire by if else condition..but i will not able to do this in my login function..

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate