jordanwb Posted August 20, 2008 Share Posted August 20, 2008 If I use mysql_unbuffered_query and I call mysql_num_rows before I've iterated through each row; will mysql_num_rows return the number of rows that have been found so far, or will it act as normal? Apparently not: Note: The benefits of mysql_unbuffered_query() come at a cost: You cannot use mysql_num_rows() and mysql_data_seek() on a result set returned from mysql_unbuffered_query(). You also have to fetch all result rows from an unbuffered SQL query, before you can send a new SQL query to MySQL. :-\ Link to comment https://forums.phpfreaks.com/topic/120614-solved-mysql_unbuffered_query-and-mysql_num_rows/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.