SQL syntax error when developing an api with PHP
i am developing an API and when I try to insert datas in my database , I get a aql syntax error . What’s the problem ?
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: