Monthly Archives: February 2012

sessions+performance+2

Speed up your sessions, part 2 – Performance

If it's not already done, I suggest you to read the first part of this serie of two posts to learn how to use properly PHP sessions. Well, now that everyone knows what to do and not do with sessions, we ...

blackboard

Reorder numeric keys of an array from “0″ onwards

Back in the game with another PHP quick tip :) Ever faced the problem of needing to loop through an array but it has non-consecutive numeric keys ? There are some easy ways to reassign array keys from 0 onwards. Supposing that I ...