PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
If you want to search two different tables (which you can't or don't want to link with a table JOIN), you need to do two separate queries, one for each table.
You may have this already, but there is a downloadable manual for mysql at mysql.com which is good to have.