How can you create first php program?
step 1: Open up notepad from start menu.
step 2: write as follows:
<?php
echo "Hello Word";
?>
step 3: save it to htdocs or www folder named "hello.php"
step 4: to check the output, open up a web browser and write in address bar as follows
localhost/hello.php
Comments 1