I was enlightened the day I discovered array_filter. You may find yourself with an array of values and you want to delete some of those values from the array. There is no 'delete element from array' function built into php but you can use an even more powerful function, array_filter.
Let's look at a [...]
Entries from March 2007
PHP - Delete selected items from an array
March 22nd, 2007 · 11 Comments
Tags: PHP
Howto: Exclude developer hits in Analytics
March 16th, 2007 · No Comments
When developing a site, I visit it a lot - OK Josh, that was an obvious. Point is, I was tired of tracking my visits to sites that I maintain. I really care about tracking significant users and how they navigate the site and what pages they find valuable but I don't care [...]
Tags: Analytics · Javascript · PHP
Facebook, meet iPhoto - iPhoto, meet Facebook
March 15th, 2007 · No Comments
I am impressed. Facebook announced their long awaited iPhoto exporter today. What does this mean? I can finally quickly load my pictures that I already store in iPhoto into Facebook pain free. I have been waiting for this for months, I was excited when the mentioned this was going to become a [...]
Tags: Web 2.0
It’s a redesign - JoshSchumacher.com
March 12th, 2007 · No Comments
Last week, I decided it was time to freshen things up on my portfolio site. This was a great chance for me to test my css powers and modify the presentation of my semantic XHTML without changing the markup (well very minimally changing the markup - I modified some content during the redesign so [...]
Tags: CSS · JoshSchumacher.com · Life
Playing well together: Prototype JS and PHP
March 2nd, 2007 · 3 Comments
I've decided that manipulating dates client side is a mess. I've been working on a multi-user php calendar for the past few months. One of the features I'm most proud of is an availability chart similar to a feature outlook has so you can schedule a meeting with multiple people and see when [...]
Tags: Ajax · Javascript · PHP · Prototype





