How-to articles, tricks, and solutions about PHP
Title case a string containing one or more last names while handling names with apostrophes
In PHP, you can use the ucwords() function to convert a string to title case.
How can I print all the values of an array?
In PHP, you can use a foreach loop to iterate through an array and print each value.
PHP sort array alphabetically using a subarray value
In PHP, you can use the "usort" function to sort an array by a specific value of a subarray.