Wednesday, December 24, 2008
Sunday, November 30, 2008
JAI HIND
Monday, September 01, 2008
preg_match (Allow only alphabets, digits, -, +,_)
echo "String contains invalid character";
exit;
endif;
Thursday, August 28, 2008
Tuesday, August 19, 2008
Sql: To find the 2nd largest row
SELECT add_idx
FROM address_check C1
WHERE 2 = (
SELECT count( * )
FROM address_check C2
WHERE
C1.add_idx <= C2.add_idx )
or
SELECT * FROM TABLE
WHERE columnName =
(SELECT max( SELECT MAX(columnName) FROM TABLE WHERE columnname<(columnname) FROM TABLE))
Saturday, August 16, 2008
Wednesday, February 13, 2008
Reality of life
The good you find in others, is in you too.
The faults you find in others,are your faults as well.
After all, to recognize something you must know it.
The possibilities you see in others,
Are possible for you as well. The beauty you see around you, is your beauty.
The world around you is a reflection,
A mirror showing you the person you are.
To change your world, you must change yourself.
To blame and complain will only make matters worse.
Whatever you care about, is your responsibility.
What you see in others, shows you yourself.
See the best in others, and you will be your best.
Give to others, and you give to yourself.
Appreciate beauty, and you will be beautiful.
Admire creativity, and you will be creative.
Love, and you will be loved.
Seek to understand, and you will be understood.
Listen, and your voice will be heard.
Teach, and you will learn.
Show your best face to the mirror,
And you'll be happy with the face looking back at you.




