Monday, 30 January 2017

STEPS TO CREATE AND EXECUTE PHP PROGRAMS

  • ·        Open Notepad or any editor and implement PHP script.


<?php
print "Welcome";
print "<br>";
$x=100;
print $x;
?>

Output –
Welcome
100

  •         Save the file in htdocs folder with .php extension.
  •         To display output, open browser and enter URL address by providing site name with server name.

No comments:

Post a Comment