PHP/MySQL Debug Trick

Update: As some people have pointed out, if this is on all the time in a production environment, it could be bad. We only enable it when debugging. But, in the interest of keeping the PHP world safe...

Read →

PDO Turbo Button

So, a while back, I did some tests with the mysql, mysqli and PDO extensions. In those tests, I found PDO to be much slower for selects than mysql and mysqli. Half as slow in fact. Santos mentioned...

Read →

Feeling Lucky with Yahoo!

So, one of the things I always use in Firefox is the auto Google Feeling Lucky feature. If you don't know what I mean, then load Firefox and type php in the address bar. You will most likely go to h...

Read →

MySQL/PHP Problems

Problem 1 in the article at IBM developerWorks kind of rub me the wrong way. 1. Using MySQL directly Why not? How is the second code example in that post superior to the first? What I see is that ...

Read →

The lost LH element

So, in the modern world, navigation in HTML often involves using lists.  You know, the ol and ul elements.  Most of the time, a list of navigation items have some sort of header.  I have done sever...

Read →

MySQLi vs. PDO (my version)

The recent post by SantosJ reminded me of a write up I did for the dealnews developer page. His post dealt with the good and bad of coding with PDO. For me, it was about speed, not ease of use. I w...

Read →

OSCON 2006

Well, I am back from OSCON 2006. Portland is a really nice city. I hope they keep this conference there forever. I hosted a BoF on memcached. That was fun. There were a lot of people there. I di...

Read →

Google Code Hosting

I am a OSCON. I could not get into the talk, but Google just announced that they are going to start hosting projects (like SourceForge). Reports in IRC say it will use Subversion and BigTables for s...

Read →