Find method with multiple tables
Dear All, I have problem with using find method to retrieve field from many table. I have table as the following: items(id, no, name, price, discount, sample, outside) invoices(id, no, name, patient_id, doctor_id, source_id, discount, paying_date, request_date, exchange_rate, bad) invoice_details(id, invoice_id, item_id, price) sources(id, no, name, phone, address) The condition of find is about the date with $start_date, $end_date that should be filter in table invoices and source_id. The preferable result NoItem Name Number_of_Item Price Total_Price This is urgent and I hope that anyone can help me find the solution. Thanks a lot in advance. Dara, -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Database scheme question...
I'm getting started with v2.2. I'm trying to layout my database, but I'm unsure how to handle the naming conventions. I have a main table, firms, which stores all the companies/firms For each firm, I want to designate a managing user and contact user from the users table. I need to associate a specific user account from the users table. Is this the correct way to name these? After reading the conventions section in the book, I'm still a little confused as how to name these columns. Thanks! firms - id firm_name manager_user_id ** contact_user_id ** users - id user_name email_address etc. -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: Firebug log limit has been reach
If your firebug is reaching the log limit than you are doing something wrong. You should be using breakpoints and not just logging everything. This is also an easy question to google and really has nothing to do with CakePHP what so ever. But to do it, open firefox, type in about:config. Change this value to whatever you want, the default is 500 extensions.firebug.console.logLimit;500 On Saturday, September 15, 2012 8:58:01 AM UTC-7, Mr. Manager wrote: > > Dear All, > > Anyone has an idea because I am using fire to testing for posting > information between ajax and cakephp controller; however, currently, my > firebug application not worked and has shown information that firebug log > limit has been reach, then it showed window.clipboarddata not defined. > > I hope that anyone will has solution, And this is an urgent task because I > need to develop my application, but I cannot do because firebug not work > like this. > > I am thanks a lot in advance. > > Dara, > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: Page not found with PayPal IPN plugin
I found the problem was that I had put the routing commands in the wrong part of the routes file. -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Firebug log limit has been reach
Dear All, Anyone has an idea because I am using fire to testing for posting information between ajax and cakephp controller; however, currently, my firebug application not worked and has shown information that firebug log limit has been reach, then it showed window.clipboarddata not defined. I hope that anyone will has solution, And this is an urgent task because I need to develop my application, but I cannot do because firebug not work like this. I am thanks a lot in advance. Dara, -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: Cakephp, gearman workers and changing database connection on the fly issue
Thats correct. I am sending the db config info in the workload Sent from my iPhone On 15-Sep-2012, at 4:33 PM, "Dr. Tarique Sani" wrote: > Are you sending which DB to use in the workload and then switching the > DB in the worker accordingly? > > T > > On Sat, Sep 15, 2012 at 9:59 AM, Ketan wrote: >> howdy! >> >> We have created a SaaS app using cakephp 1.3 which is pulling in data from a > > -- > = > PHP for E-Biz: http://sanisoft.com > = > > -- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com. > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com. > Visit this group at http://groups.google.com/group/cake-php?hl=en-US. > > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: Abridged summary of cake-php@googlegroups.com - 14 Messages in 7 Topics
-- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: Cakephp, gearman workers and changing database connection on the fly issue
Are you sending which DB to use in the workload and then switching the DB in the worker accordingly? T On Sat, Sep 15, 2012 at 9:59 AM, Ketan wrote: > howdy! > > We have created a SaaS app using cakephp 1.3 which is pulling in data from a -- = PHP for E-Biz: http://sanisoft.com = -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.