Latest posts to the library

I often have to show a shortened version of a news item and then a link to show the entire news article or whatever. Here’s a way to get that short text! function shortText($text, $length){ if( strlen($text) > $length ) return substr(preg_replace(‘/(<\/?)(\w+)([^>]*>)/’, ”, $text), 0, $length)."…"; return preg_replace(‘/(<\/?)(\w+)([^>]*>)/’, ”, $text); }

The first of December and it only feels like it’s February! This year has really flown by quicker than the last! I’m quite excited that it is already December, as there are a lot of really interesting things that are coming my/your way over the course of the next few months – but you will [...]

I came across this site today: http://www.adidas.com/campaigns/adidasdfb/content/locale/com/?strcountry_adidascom=uk It is a game made and run on the adidas site.. Play it, it’s quite cool. Nice flash site to whoever made it!



back to top