Relative Content

Tag Archive for phpsqlpdo

Problem with php/sql running PDO, crashing

After getting told I need to switch to PDO, I made the leap. The problem is that the execution is really slow and if I try to run to many queries I get a 404 error.
I have a table with over a million records, with each record having a registered date as a field.
The dates range from 1900 to 2024.
I can run a maximum of 20 years, after that I get the following error: