Generally if you're getting "undefined variable" it's because you
haven't set the variable for the view to access.

It depends what's on line 31 in your add.thtml file, but I'm guessing
it's:
$html->selectTag('Product/Product',$products)

In which case you just need to set the $products variable in your
controller for the view to access:
$this->set('products',$products);


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to