Keyboard Face

when you find QWERTY imprinted on your cheek - it's time to go to bed.

Tags

asp CSS css menus dreamweaver flash gallery2 hosting iis7 Javascript jquery jquery ui left mac mssql os9 php printer rdp SEO sql sql server windows wordpress

PHP Left

September 4, 2011 by Tom Leave a Comment

There is no function in PHP equivalent to VB or ASP’s left. There is a more robust function called substr. Here’s a function from the forums that replicates the functionality.

function left($string, $count){
return substr($string, 0, $count);
}

Filed Under: Uncategorized Tagged With: asp, left, php

Best time to buy anything

September 4, 2011 by Tom Leave a Comment

Handy reference. Who would have thought April was the best time to buy laptops.

http://lifehacker.com/5736625/the-best-times-to-buy-anything-in-2011

Filed Under: Uncategorized

MSSQL: Cross Apply with XML

August 28, 2011 by Tom Leave a Comment