"offset 0 is invalid for mysql result index 64 (or the query data is unbuffered)" Code Answer

3

if the result set is empty mysql_data_seek() will fail with a e_warning. that is i think happening in you case because you are not checking whether the result set is empty or not before calling the mysql_data_seek().

always check the result for number of rows if they are >=1 then you are safe to call mysql_data_seek()

By Yoni Samlan on June 1 2022

Answers related to “offset 0 is invalid for mysql result index 64 (or the query data is unbuffered)”

Only authorized users can answer the Search term. Please sign in first, or register a free account.