June 21, 2005

Fun Coding Phenomenon of 06.21.05

I spent too long last night and some time this morning trying to decipher why one of the objects I used would not print to the screen in my latest PHP script addition.  After much angst, I realized the object I used (but did not write) was much more flexible and extensible than I previously assumed.  Rather than always returning results as a single object, if used correctly it returns an array of objects.  Suddenly, some of its nuanced and quirky behavior made sense.  Perhaps my database interactions will be less painful as we both use the same language now.