Dodgers are losing to the phillies at the moment. Wanted to post using the iPhone client.

Converting SQL to JSON using PHP

This is a simple example to creating JSON from SQL in PHP.

$arr = array();
$rs = mysql_query(SQL);

while($obj = mysql_fetch_object($rs))
{
$arr[] = $obj;
}
echo json_encode($arr);

Ads with Sound

Ok, so I had to write a post about this because I’m getting very annoyed.  I can understand putting ads on your site to try and monetize your content.  What I can’t understand is altering a users experience or allowing the ads to get in the way of the how users interact with your content.  

I visit www.espn.com multiple times a day to keep up on the latest sports news, and today I had the opportunity to hear about the Valkyrie DVD staring Tom Cruise about 20,000 times.  To be honest, I’ve never seen the movie, however I can guarantee you that I WILL NOT see this movie now.  I know there have been lots of examples of ads doing this lately, and I just felt it was time to write about it.  I don’t mind the video ads as much, just please keep the sound off by default unless I choose to turn it on.  There is nothing worse they being on a phone call and all of a sudden the sounds plays.  Even worse, if you have ESPN.com up in a browser in the background, it will just randomly play the sounds.

Ok, so that is my rant, as mentioned earlier, I understand wanting to monetize your content, but please don’t interfere with my experience!!!!

Just figured I’d post on Tumblr

So, I’ve signed up for Tumblr and haven’t posted anything.  I felt the need tonight to sign up and post a message.  So if anyone is out there, yo whats up!!