posted on 9th Aug, 2009 in MySQL
Simple mysql query to capitalise strings
SELECT CONCAT( UCASE(LEFT(TRIM('MYSTRING'), 1)) , LCASE(SUBSTRING(TRIM('MYSTRING'), 2)) ); [...]
posted on 12th Jun, 2009 in Javascript
W3C no longer include the target attribute of the <a> tag in HTML 4.0 Strict and XHTML 1.0 Strict document types . To make our links open new windows we will have to use Javascript, and with mootools it make this task very easy. Just add this snippet to the bottom of your html document and it will look for all external links on your page and add the target attribute to each of the links.
$$('a[href^=http]').each(function(a) {
if (wind [...]
posted on 11th May, 2009 in General
The Guide To Life
1. Hope that the light at the end of the tunnel isn't a train.
2. Never spit into the wind.
3. Amateurs built the ark. Professionals built the Titanic.
4. A balanced diet is a cookie in each hand.
5. A closed mouth gathers no feet.
6. He who lives in a glass house should change in the basement.
7. He who throws dirt loses ground.
8. A mind is a terrible thing to waste, but a waist is a terrible thing to mind.
9. Never pl [...]
posted on 11th May, 2009 in General
Its been awhile since ive posted anything, just to let you know im still alive just very busy working on freelance projects. So hopefully over the next few weeks these projects will be completed and i will have a few nice mootool/php scripts i'd like to share, but untill then check out these links.
frenden.com
shauninman.com
jefffinley.org
tomdenney.com
wized.net
[...]
posted on 7th Feb, 2009 in General
I got a new phone!Sony Ericsson C905- 8.1Pix cam- GSP- WiFi- Radio- MP3 PlayerHeres a picture i took this morning. 3264 x 2448 Resolution.Today is rainy ... [...]