SQL Query Executing Twice in PHP
I finally fixed a crazy bug on one of my sites where PHP + SQLite was causing some queries to run twice.
I run a lot of web sites, and I like PHP because it's easy to deploy and easy to maintain. More importantly it's easy to manage a large number of sites if they are all similarly setup. I run a lot of small side projects. These projects are the sort of things that I want to build in a weekend and then not really think about again.
Many of my PHP sites use the SQLite database. SQLite is great because it requires no setup or management. It's built into PHP, and you use it by just, well using it. There's no server or separate program to manage.
Read the rest of SQL Query Executing Twice in PHP