CREATING THE PHP PAGES (Integration HTML with PHP)

 CREATING THE PHP PAGES ( Integration HTML with PHP)

For the creating PHP page use following steps :-

  • ·         Open the text editors example- note pad .
  • ·         Write html basic tags for simple html page.

Ex.

<!DOCTYPE html>
<html>
<body>
<
h1>heading of page </h1>

</body>
</html>

·         After that use php coding in php script or php tags in between html opening and closing body tag. Example-

 


·         Save this page at htdoc folder in xampp folder (root drive) by the PHP file name with the .php extension.



·         After the saving PHP file, open any internet browser and write this file path “ localhost/ filename.php” and click on the enter button.

·         Browser display PHP file result.


=========================================================

Post a Comment

0 Comments