Winter Oregon Images

It’s been a while since I’ve posted. Here are a few images I liked from my central Oregon visit in December.

Smith Rock

Smith Rock – Terrebonne, Oregon

 

Detroit Lake Dam, Oregon

Detroit Lake Dam, Oregon

 

IMG_5714

Detroit Lake, Oregon

Posted in Photos | Leave a comment

Convert MySQL Timestamp into a Nicer-looking Date Format for PHP

After spending 20 minutes searching online for a way to convert the date stored into MySQL into a human-readable format in php, I thought I would share my solution with the world.

Assuming you’re already doing a foreach or a loop to pull your MySQL variable (in this case, the ($row['timestamp']) below), use the following code:

$date = strtotime($row['timestamp']);
$date = date(‘n/d/Y, g:ia’, $date);
echo $date;

Hopefully that will save sometime time.

Posted in Photos | 1 Comment

Free Images Website

Free Images

 

I’d like to introduce the new free images website with new images posted periodically.

The images come from my own collection that I personally took. Even though it took countless hours to capture, sort, cleanup and process all of these images, I thought it would be a good thing if I share them with the world. They are all original, high-resolution, royalty-free, professional photographs free for commercial use. Visitors can subscribe to the blog’s RSS feed and get daily notifications. If traffic to the site proves to be successful, maybe someday I’ll wet my beak by adding a little Google AdSense advertising.

http://www.turbophoto.com/Free-Images/

Posted in Photos | Tagged , , , , , , , , | Leave a comment