logo
Feb
9

Filtering Array Elements in PHP Using an Anonymous Function

Using an anonymous function in PHP’s array_filter as a way to search a 2D array. Continue reading “Filtering Array Elements in PHP Using an Anonymous...
Oct
29

Automatically linking Twitter @usernames in PHP

Automatically linking Twitter @usernames in PHP I keep seeing people writing scripts that embed their Twitter feed into their websites. The “easy” way is to use Javascript, which means you don’t need to have PHP installed on your server. Doing it this way means your tweets will not be visible to visitors with Javascript disabled. Really, nobody has Javascript disabled in their browsers anymore. The web is pretty much inaccessible...

logo
Powered by WordPress | Designed by Elegant Themes