Hi,
Thank you for your response. I tried $count = mysql_num_rows($result); but it gives me an error on that line. I have 0 entries in books table & 1 entry in bags table for testing & would like to get the results separately, even though I run only 1 query.

Kindly let me know if you have any possible solution for this.

Thank you.