Skip navigation.

Drinking on the job...

Wonky Code

A friend of mine works in Germany as a Java developer/Oracle DBA. He's quite intelligent, making a decent 6 figure income in a meager 16 hour work day.

He tells me in Germany beer is nearly cheaper than water. In fact, I hear about the cheap beer a lot! I'm starting to suspect that the cheap beer and the number of German PHP WTFs I'm getting is not a coincidence.

This is today's WTF. There are a few newbie things but the WTF is where the array from mysql_fetch_row() is separated into variables only to be immediately jammed into another array./p>

Thanks to elias for sending this in.

Farewell thephpwtf...


And welcome the PHPWTF2.

Tonight I'm going to finish off the migration of content to the new Drupal website. The big change will affect those who use the feeds.

Unfortunately Drupal doesn't have very good Atom or RSS2 feeds. If you can, I recommend you use the plain RSS. I have added in a 3rd party module to support RSS2/Atom feeds. I'm not sure how stable it is though. Let me know if it sucks.

1 2 3 4 5 6 7 8 9 ...