Tagpage

How To Sort A Multidimensional Array By One Element In PHP

H

I had a table’s worth of listings and had stored all the values in a multidimensional array in PHP. The problem was, I needed to sort the multidimensional array, but based on just one element. Here’s the easiest, fastest solution that I found from the array_multisort function page of PHP (thanks to zequez at gmail dot com!). Here’s his original solution taken from that page:...

How To Split Firefox into Different Windows/Tabs And See Everything At Once

H

If you work with many websites, or want to keep track of many different websites, and would like to do that simultaneously, then the default Firefox probably wouldn’t cut it for you. Safari has live bookmarks that may do what you want, but in my personal opinion, these following Firefox add-ons do a much better job. Firefox Splitter (Formerly Split Browser) Firefox Splitter is an add-on...

Simple Way to Relay or Pass POST Data From A Page to Another Without .htaccess, Even Cross-Domain

S

So I had a page which I absolutely could not change or rename. The challenge was, this page would normally receive POST data, and I had to pass or relay this POST data to another page, which resided on another domain. I tried .htaccess, but that didn’t work, so I figured that I had to do some programming. It was simple enough with the curl library to do so, and here it is – The method...

About Author

I've over 17 years of entrepreneurship experience, having built a tech company to be the top in the country, which was subsequently acquired for an 8-figure sum. As CEO, I led the company through robust growth to 150 employees across 4 countries. After the acquisition, I embraced minimalism, sold off my personal possessions, and started living around the world.

Read more about my story here.