Sep 19 2008

Beginner’s Guide to PHP – Part Five

Back in Part Four of the Beginner’s Guide to PHP, we covered the basics of arrays, and the foreach construct which is used to iterate over arrays. Today, you get to learn about for(), woot for you. According to the PHP manual, for() loops are the most complex in PHP, so I’m hoping I can … read more »

Tags: , .

Sep 15 2008

Pants: Digital Sugar Designs

When you tell the world that you have “7 years of experience in the field“, it helps if you show that so-called experience off. And no, blurring a few dodgy photographs so that the subject looks like they’re being melted under a 500W halogen lamp does not count as experience in the field. Only in … read more »

Sep 10 2008

Improved Related Posts in Sidebar

If you checked out the comments on yesterday’s post — WordPress Related Posts in Sidebar — you’d have noticed that the “related” posts code I use was flawed. Namely, it didn’t exclude the post you were on, so the chances were that only 4 out of 5 would be things you hadn’t already read. Anyway, … read more »

Sep 09 2008

WordPress Related Posts in Sidebar

Several of you keep pestering me on how I do my ‘related posts’ thing in the sidebar. You’re nosy buggers, I’ll give you that. Anyway, here comes the confession part: they’re not really “related” posts at all. In fact, the only thing that they each have in common is that they’re in the same category. … read more »

Sep 02 2008

Handy OO PHP Hint

Sticking a few functions (aka methods) inside “class Something { }” does not make your code object oriented. Learn the fucking principles before you try and educate other people, dickweed. I’m looking at you here.

Tags: .