Also.. im just a bit curious and I really feel the need to ask.. what exactly is the deal with your table? * `ProCroppedImg`.`org_name1`, `ProCroppedImg`.`server_name1`**, `ProCroppedImg`.`org_name2`, `ProCroppedImg`.`server_name2`**, `ProCroppedImg`.`org_name3`, `ProCroppedImg`.`server_name3`**, `ProCroppedImg`.`org_name4`, `ProCroppedImg`.`server_name4`**, `ProCroppedImg`.`org_name5`, `ProCroppedImg`.`server_name5` * * ** `ProFullImg`.`org_name1`, `ProFullImg`.`server_name1`, `ProFullImg`.`org_name2`, `ProFullImg`.`server_name2`, `ProFullImg`.`org_name3`, `ProFullImg`.`server_name3`, `ProFullImg`.`org_name4`, `ProFullImg`.`server_name4`, `ProFullImg`.`org_name5`, `ProFullImg`.`server_name5`*
Are there always 5 servers-orgs expected? Or did you just build it that way instead of separating it into two tables? 2009/7/10 Dr. Loboto <[email protected]> > > Controller $this->data is transferred to view $this->data > automatically. > > On Jul 10, 3:02 pm, jeff <[email protected]> wrote: > > ================================================ > > > > In order to access variables or results from the controller to > corresponding > > view page we have to use the foll: method: > > > > *Syntax:* > > > > $this->set(' variable name ', content needed or result ); > > > > Eg: > > > > $this->set('empname',$this->Payroll->Employee->find('list', > array('fields' > > => array('Employee.employee_name')))); > > > > $this->set('data', $data); > > > > Now on the view page the are accessed as $empname , $data resp. > > > > Use > > > > <? debug($data); ?> > > > > To check the values….. > > > > Alternatively u can follow this link > > > > http://book.cakephp.org/view/821/set > > > > ================================================ > > > > -- > > -- > > (¨`•.•´¨) I may be busy, > > `•.¸(¨`•.•´¨) but I assure you, > > (¨`•.•´¨)¸.•´ you are always in my heart > > `•.¸.•´ > > > > With Lots of Love..... > > > > THANKS AND REGARDS > > > > Jeffery Jacob > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
