Looping through a date range isn’t as simple as looping through an array with foreach but it doesn’t take much additional code to get the job done. To loop through a date range you will need to use a loop…
Not a day goes by that I see a headline about the need for a minimum wage increase. I read about staged sit-ins, protests and boycotts. I see people investing a ton of time and energy to remain the lowest…
The topic of break and continue came up the other day and I thought it would make for a good blog post. You’re probably familiar with break moreso than continue because it is part of a switch statement’s syntax. Both…
It’s not very often that I make a drastic change to my coding style but after using tabs for my entire life, I am making the switch to spaces. My go to defense for using tabs was that they are…
PHP is a C-style language and thus uses fancy braces to wrap or hug control structures. PHP is also a language that is extremely flexible so you can also get by without using fancy braces. You will never get away…
A few months back when I picked up a Nexus 5 for myself, I decided to go ahead and get our 7-year-old daughter the Sprint WeGo phone. For those that are not familiar with the device, it’s a very basic…
SimpleXML is pretty much the de facto standard for dealing with XML in PHP. The biggest problem with SimpleXML is that it is a pseudo-object that you can’t print_r() or var_dump() to see what’s going on. I recently ran into…
It was February 18th, 2011, a week before my 30th birthday that my answers to AppSumo’s Tools of the Trade questionnaire were posted. A metric shit ton has changed since then – new jobs, new hardware, new software. At the…
We recently discussed parsing XML with SimpleXML and since that writing I ran into a situation where I needed to parse a SOAP response. As it turns out, SOAP responses are a totally different beast when it comes to parsing…
I was somewhat skeptical that it would happen to me, be after over a year of working for myself and by myself, it finally started to take it’s toll. I had an office so that I would have a place…