thanks neospirit .. got it working

Have new problem now
http://groups.google.com/group/cake-php/browse_thread/thread/8e912f6dc375bc2b/c87af047dfc5de8f#c87af047dfc5de8f

On Jan 21, 12:23 pm, "neospirit" <[EMAIL PROTECTED]> wrote:
> Hi
>
> The code looks right to me. Have you tried print_r($products) - assuming you
> set your find in controller to 'products' - and see if there's anything
> beside $products['Product']?
>
> How's your db table? Why not having specs as a table with battery, build,
> etc as the fields and have the model association like ProducthasOneSpec:
>
> var $hasOne=   array('Spec'=>
>                              array('className'    => 'Spec',
>                                     'foreignKey'   => 'product_id',
>                                     'conditions'   => '',
>                                     'dependent'    =>  true,
>                                     'order'        => '')
>                         );
>
> Uwie


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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