db API

Ran into a good one this morning. You know, one of those bugs where after three hours you've isolated the problem down to a single line of obviously well-written and demonstrably correct code.

So after spending another hour or so re-running unit tests while I questioned my sanity I finally figured out what the problem was: db_query() doesn't play nice if you try to do straight %s substitution of an array into a query.

OR adventures in unintentionally case sensitive autocomplete fields

Freeman on web stuff

If it's wrong, bad or
stupid, let me just say that
I am not surprised.

- author unknown

User login

Navigation

More Drupal hotness

Powered by Drupal, an open source content management system