I am having a problem retrieving records from a database using php.
I have 31,700 entries in the database. when I retrieve the entries from this query:
select * from product_likes
Then the script was interrupted and a blank page was shown. But when I use the restriction in the request (ie "select * from product_likes limit 0, 12000;"), it will produce up to 12000 records.
And when I correct the entries from this query:
select product_name, like_count from product_likes
Then the script was interrupted and a blank page was shown. But when I use the restriction in the request (ie "select product_name, like_count from product_likes limit 0, 30000;"), then it gives up to 30,000 entries.
I can not understand where the problem is. And yet I can not get all the records.
Please let me know the reason, How can I solve this problem ...
source
share