Wednesday, January 26, 2011

PHP Simple Programs

Recommended Software: wamp server Click Here 2 Download wampserver !! 

Write code in Notepad

And save into www directory of wamp. You can find it from "c:\wamp\www".
Save your notepad file with .php extension...

For example "demo.php" and select "All files" from save as type and click on save button.

Program 1:


 Output:


100 is greater than 10


Program 2:

Output:

0
1
2
3
4
5
6
7
8
9
10

Author : Technology Stuff: At present 2 Upcoming