hi, its ahsan. I am new to cakephp , but old to php :-) In the last section of the manual 's model description .. its described about the details of HABTM association between posts and tags.. the scenario presented there in last example is to associate a newly created post with a relevant tags, while we are adding a new post. I am exactly in the same situation .. I have HABTM association between two models dealer : product when creating a dealer, i want to be able to associate one or many products to the dealer. In manual ,they have used $html->selectTag('Tag/Tag',$tags,null..... etc) How will this work in my case.. because , i have tried to replace 'Tag/Tag' with 'Product/Product' and $tags with $products.. but of now use.. Its gives the error Notice: Undefined variable: products in D:\Development Work Area\Installations\wamp\www\cake\app\views\dealers\add.thtml on line 31 Pleasssssssssssssssssse help me .... Regards
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---