Peter- you're right... as usual. What I'm doing now is what the php script should be doing- you are indeed correct. I'm essentially doing the pseudo inner joins manually when MySQL can do it. Of course- MYSQL can do it- but I need to learn more php
Take care- stay safe.