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. 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); 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
Archived
This topic is now archived and is closed to further replies.