Hi :)
While working on a small shop application i fetch all colors of an article using Zend Framework's "findManyToManyRowset" functionality.
Example:
$colors = $article->findManyToManyRowset('Shop_Colors',
'Shop_ArticlesToColors');
Some of the articles don't have and colors assigned. I test it using count($colors) on the result of "findManyToManyRowset". But instead of the expected result "0" i get an "1" as a result, which confuses me.
Why is that ? And how can i test, if an result is empty instead ?
Thank you :) Stephan