Saturday, July 5, 2008

PHP - Basics -Part -1

1.Getting Started with PHP:

?php
//Echo Command is used in same context as Print statement
echo "Print me \n";
?>

The above lines will print "Print me" in the browser.

2.Comments in PHP:

a. Single line comments enclosed winthin // Your Comment //
?php
//Single line Comment//
echo "Single line Comment";
?>

b.Mulitline comments can be enclosed within /* Your comment */
?php
/* Comment starts here we are now talking about mulitple line comment.The comment ends here.*/
echo "Multiline comments";
?>

Wednesday, May 28, 2008

Control Mouse with Keyboard

In Windows XP:

1.Press Alt+Left Shift+Num Lock.

2.Move the Cursor Left -4, Topleft -7, Right -6,Top right -,9Top -8,Bottom -2,Bottom left -1,Bottom right -3

3.Left click - press 5 and Right click- press + Symbol.