Category: programming

Note to self: Youtube ID from regex PHP snippet 0

Note to self: Youtube ID from regex PHP snippet

 

Quick PHP Function #3: Sorting multi-dimensional arrays by a value within 0

Quick PHP Function #3: Sorting multi-dimensional arrays by a value within

Another useful function im frequently in need of, a multidimensional array sort/order function

Use it the same way you would use asort($arrayname) but with a second argument being the name of the column/key name you...

Quick PHP Function #2 : The User Agent 0

Quick PHP Function #2 : The User Agent

There are lots of ways to grab the browser’s user agent, this is my simple way of doing it, feel free to share your own. This comes with two options, echo the results or...