The PHP documentation for fgetcsv() states that A blank line in a CSV file will be returned as an array comprising a single null field, and will not be treated as an error. Here's a quick demonstration of this behavior.
By Rowan Rodrik, 8 years ago, on September 05, 2009, at 10:09 |
When I was studying Spanish last year, I had to choose a flashcard program to memorize new words. At the time, I couldn't find any on-line program that just did the job and did it well. In a comment on my blog post from last year, however, I was pointed by Jeff to his amazing FlashcardDB.
By Rowan Rodrik, 9 years ago, on January 14, 2008, at 23:01 |
Thursday evening: so, I had written myself a nice little script using Aaron Patterson's WWW::Mechanize and why's Hpricot to extract some data from a popular web-based airport directory.
By Rowan Rodrik, 10 years ago, on May 02, 2007, at 13:05 |