Search the blog

Variable scope in PHP’s try, catch and finally blocks

How-tos

How to use the finally keyword in PHP

How-tos

Remove the query string without refreshing the page using JavaScript

How-tos

Generate a random password securely with PHP

How-tos

How to validate Google reCAPTCHA with jQuery

How-tos

Use PHP to validate Google reCAPTCHA

How-tos

Sort associative array by value and keep keys with PHP

How-tos

UK counties in PHP and JSON format

How-tos

PHP obfuscate string function

How-tos

Multibyte-safe str_split() with PHP

How-tos

Combining arrays using + versus array_merge in PHP

How-tos

Cleaner JSON encoding with PHP

How-tos

Use an array in a while loop with PHP

How-tos

trim, ltrim and rtrim not working right in PHP?

How-tos

Create a PHP object and call one of its functions from string data

How-tos