karimali831 Posted July 21, 2010 Share Posted July 21, 2010 Hi, I want to count how many rows there are two queries, is this possible? e.g. $query1 = mysql_query() $query2 = mysql_query() adding rows in query1 and query2. Thanks for any help. Quote Link to comment https://forums.phpfreaks.com/topic/208413-mysql_num_rows-2-queries/ Share on other sites More sharing options...
Zane Posted July 21, 2010 Share Posted July 21, 2010 mysql_num_rows($query1) + mysql_num_rows($query2); Quote Link to comment https://forums.phpfreaks.com/topic/208413-mysql_num_rows-2-queries/#findComment-1089085 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.