So, I was working on a semester-long advertising group project last Fall with a group of three other people. We were doing a project on Orkin, yes, the pest control company. Anyway, we did a bunch of research and stuff to come up with a "Master Idea" for the company ...
22
Mar
2007
Quick update, I installed a new plugin that spits out a list of people who commented on a post and links their name back to their respective websites. It's a comment-whoring move to let others plug their sites on yours, but oh well, seeing as how most of the traffic into my site comes in that form anyway.
If you want to do the same thing (see the "complements of" after each post on the index page?), you can download it from that site.
I made a few quick changes to the code, though. I wanted commas in-between each person, so I needed to have the script put in a comma after every entry other than the last one. In order to do so, after the script files all comment authors and URLs into the array $commenters, I assigned a new variable $count the integer one and got a count of the array. In code form:
$result = count($commenters);
$count = 1;
(Hint: $count starts at 1 to account for the fact that I don't want a comma after the last commenter) After that, I concatenated a comma onto the string after each commenter and added one to the count, other than the last one, by adding the following line:
12
Mar
2007
Spring Break! And I'm ... in Atlanta. Of course. Aaron called about a barbecue they're having over in Plano, sigh. I suppose I could've gone to California and Disneyland with Kendra, Rita, Jun and Dan, but seeing as how I'm going to go broke over the summer, it seemed more ...
11
Mar
2007
I spent over $3,000 yesterday. I bought a Fabergé egg.
Just kidding. Okay, but seriously, I paid for my housing for this summer! I found out a week or so ago that I'd gotten an internship at Ogilvy & Mather (I'm so excited!), which is the advertising agency that I hope ...
8
Mar
2007
Okay, I apologize for the hiatus. I'd taken to writing in my other journal - you know, one of those archaic things of the pen and ink variety - because the stuff on this one invariably gets spread across the internet. And while the internet is great for, say, PR ...