Technical Articles

In-depth guides, insights, and best practices for modern software engineering

PHP nl2br on one line

I usually store data from a textarea directly to the database as is, then once I retrieve it back into HTML I use that lovely PHP function nl2br() to …

Read Article →

LEN in MySQL

Coming from SQL Server or MS Access? You might be looking for LEN() to get the length of a string. In MySQL, it’s called LENGTH() instead.

You …

Read Article →

CSS Background Default

If you need to override an already attached class containing a background — for example, removing a background image or colour that’s being …

Read Article →