Re: Raw Query
So how would I use a function in the model User, from a seperate component? :) --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Raw Query
Yes. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Raw Query
On Aug 21, 2006, at 4:55 PM, Simplerules wrote: > > Yes, it has a Model. > > 'Users' is a fully working area, but I need to access some data from > the table Users in this component. Just to clarify, are you using Cake vocabulary here? Is your question that you want to know how to access and use your User model from a Cake component you are building? -- John --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Raw Query
Yes, it has a Model. 'Users' is a fully working area, but I need to access some data from the table Users in this component. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Raw Query
On Aug 21, 2006, at 4:48 PM, Simplerules wrote: > > How do I do a raw SQL query? If at all possible, I would use model functions, but you can also always use the query() and execute() functions of the model as well. > I need to access a table called 'Users', which belongs to > UsersController, in a component Logins - is there a way to do this? Have you created a User model? -- J > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Raw Query
How do I do a raw SQL query? I need to access a table called 'Users', which belongs to UsersController, in a component Logins - is there a way to do this? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---