In this tutorial I am going to teach you basic of PHP programming.
For developing PHP website you need below Softwares:
- Text Editor
- XAMPP - This will be our web server. This is were we will be saving our website files and save our data to the database.
- Web Browser
<html>
<head>
<title>My first PHP Website</title>
</head>
<body>
<?php
echo "<p>Hello World!</p>";
?>
</body>
</html>
Note: copy paste the above code in your text editor and save your
file with extension .php now copy your folder in xampp/htdocs
folder now open your browser and type localhost\your_folder_name
and press enter.
0 Comments