The other day I was typing away at some code in some file or another.
I linted it and then ran it in the browser. Although lint was fine, the browser test croaked.
A survery of the server logs produced:
Apache2.2 wrote:Fatal error: mysql_result() expects parameter 1 to be string, object given in /something.php on line X
Now, one could argue that my mysqli_result() hack is partially responsible for this, but I'm gonna blame my fingers, which are connected via a complex organic control/feedback loop from my central processing wetware.
Anyone got any hints for teaching your fingers to always type the "i" after mysql?
😃