Here’s a problem I’ve run into a time or two with sorting arrays. I had a multi-dimension array that I needed to sort on a the values for a specific key (“name” in this case). This array is similar to what you would get back from a mysql database query when you use ARRAY_A to [...]
PHP – Sort a Multi-dimensional Array by Value for a Key
by byron on March 23, 2011 in PHP, Programming, Web Development
OOP PHP: What is the Double Colon in Objects/Classes for?
by byron on January 16, 2009 in PHP
I happen to be the only PHP programmer that I know, so it’s hard to ask your buddy what the heck that :: is used for in some OO PHP programs. I know you could post it on a forum and get the answer, but I never did. And Google wasn’t really forth coming when [...]
ASP.Net C# – PHP Equivalents
by byron on September 17, 2008 in ASP.NET/C#
On this post, I will be collecting ASP.NET C# commands that I use frequently in PHP but I have to continually look up in the little bit of ASP.NET that I do. PHP can be frustrating for its inconsistencies in syntax, but what is even more frustrating is when you’re trying to do something in [...]
PHP: Using Switch to test Multiple Conditions
by byron on August 3, 2008 in PHP
Ok, so maybe this is common knowledge, but I still felt a little clever when I figured out this trick. The situation was that I wanted to test a bunch of different conditions to figure out which time category a date falls into. It would be fairly simple to do with a bunch of if…then…else’s, [...]
Recent Posts
Popular Posts
- Excel Spreadsheet of US States
- Get ASP.NET DropDownList Selected Value with jQuery
- Javascript: How to get an Object's ID
- ASP.NET - Get User Name Under Windows Authentication
- SAP: Deciding about SAP-BPC (nee Outlooksoft)
- WordPress: Get Category ID for a Category Page
- PHP: What is the & Ampersand Preceding Variables
Tags
Categories
- Accounting (1)
- adobe air (1)
- ASP.NET/C# (16)
- Blogging (8)
- Books/Movies (1)
- Food/Travel (1)
- Google (1)
- iOS (3)
- iTunes/iPod (1)
- Javascript Frameworks (3)
- jQuery (3)
- Mac (4)
- Microsoft Excel (7)
- Microsoft Outlook (1)
- Miscellany (13)
- PHP (8)
- Productivity (6)
- Programming (7)
- SAP (52)
- Software (2)
- SQL (2)
- Web (5)
- Web Development (13)
- WordPress (18)
- WordPress Plugins (3)
- WordPress Themes (3)
- Words/Quotes (1)
- Worksoft Certify (6)
- YouTube (2)


