Tuesday, March 8, 2016

When PDO prepare() returns false

If your PDO::prepare() sets the connection object to false , that's probably because of the wrong query / params inside the prepare statement. It's another pretty silent error from PHP.

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...