Blog

Programming insights to Storytelling, it's all here.

Ibrahim Diallo

April 2020

Count the number of words with MySQL

Count the number of words with MySQL

I was looking for a way to count the number of words in a blog post using MySQL. Most solutions I found online required I create a function. I wanted something simpler instead, something as close to a native function as possible. And the answer that occurred to me was to use the Length() and Replace() function with a catch.

JS Tip of the day

Calling a function out of scope

With the advent of jQuery, coding in JavaScript became accessible to almost everybody. But with it came some very fundamental errors that could have been avoide…

Photography